Mark Wilden wrote: > Thanks for your replies, David and James. I figured as much, actually, > since > you wouldn't want to have some And steps in your definition file and > some > Given steps. > > I was led astray by "Inside a step_definitions.rb file, steps (which > strictly speaking should always be called step definitions) refers to > the * > matcher* methods, given exactly the same names (Given, When, Then, or > And), > each provided with a matcher regexp that corresponds to one or more > feature > steps" in James's backgrounder. Maybe I misunderstood it. >
That aspect of cucumber, that Given == When == Then, is elaborated later in the article but I have added further clarification at that point as well. -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
