Sorry, I guess stepgroup is the steps_for framework, and not what I'm asking about. Is there a way to hierarchically combine steps under a single step to achieve?
On Dec 22, 2007, at 2:51 AM, Jonathan Linowes wrote: > Hi, > I have a need for the StepGroup feature in stories but not clear > what's the current api. Could you provide an example? > > In my case I have several scenarios which vary in the Givens, but not > the results. Ideally I'm hoping to achieve something like: (but > anything will do for now :) > > Scenario: one > Given something > When he does foo > Then good things should happen > > Scenario: two > Given something different > When he does foo > Then good things should happen > > > Group: good things should happen > Then good thing one > And good thing two > And good thing three > > > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
