Re: [rspec-users] [Cucumber] Struggling with "multiple step definitions"

2009-01-18 Thread Bart Zonneveld
On 18 jan 2009, at 01:25, aslak hellesoy wrote: On Sat, Jan 17, 2009 at 10:48 PM, Bart Zonneveld > wrote: Hey gang, I find myself struggling with multiple step definitions in cucumber all the time. I regularly test the contents of my flash[:notice] in steps, since I think that's part of th

Re: [rspec-users] [Cucumber] Struggling with "multiple step definitions"

2009-01-17 Thread aslak hellesoy
On Sat, Jan 17, 2009 at 10:48 PM, Bart Zonneveld wrote: > Hey gang, > > I find myself struggling with multiple step definitions in cucumber all the > time. I regularly test the contents of my flash[:notice] in steps, since I > think that's part of the behaviour of the app. So, while implementing a

Re: [rspec-users] [Cucumber] Struggling with "multiple step definitions"

2009-01-17 Thread Fernando Perez
Bart Zonneveld wrote: > Hey gang, > > Multiple step definitions That's because you have defined more than once a step, so instead of defining the same step for each feature, group step definitions by resource / domain concept / model / whatever-you-call-it for instance. here is a good document