[rspec-users] calling a step from a step

Andrew Premdas apremdas at gmail.com
Mon Nov 24 11:33:32 EST 2008


Missing slash at end of regex

/When /should determine the party (.*)/

2008/11/24 James Byrne <lists at ruby-forum.com>:
> James Byrne wrote:
>> James Byrne wrote:
>>
>>> When /should determine the party (.*) do |n|
>>>   When "obtain the party #{n}"
>>> end
>>>
>>
>
> Another helpful tidbit that I neglected to post.  The reason that I
> focused on the step from step method shown above is that when I comment
> these lines out the following method "Then /record the party/" run fine.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list