[rspec-devel] first cut at blockless given/when/then

Ian Dees undees at gmail.com
Fri Oct 19 01:33:17 EDT 2007

Hi, Dave.

> I committed a first cut at blockless Givens/Whens/Thens to RSpec's trunk:


Thinking out loud for larger projects here....  What's the scope (or
lifetime -- I'm not sure what to call it) of a step created by
step_matcher?  How does it know which Story to attach to?

And a brief heretical thought: does step_matcher really need us to
specify :given, :when, or :then?  Is there ever a case when two steps
would have the same name, but one would be a Given and the other would
be a Then?


More information about the rspec-devel mailing list