[rspec-users] 'And' step definition
lists at ruby-forum.com
Sat Dec 6 17:10:14 EST 2008
Mark Wilden wrote:
> Thanks for your replies, David and James. I figured as much, actually,
> you wouldn't want to have some And steps in your definition file and
> 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
> each provided with a matcher regexp that corresponds to one or more
> 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
Posted via http://www.ruby-forum.com/.
More information about the rspec-users