[rspec-users] Cucumber - Ambiguous steps

David Chelimsky dchelimsky at gmail.com
Sun Sep 14 14:08:57 EDT 2008

On Sep 14, 2008, at 9:39 AM, "Pat Maddox" <pergesu at gmail.com> wrote:

>> Then /I should see "(.*)"
>> Then /I should see "(.*)" in the list of authors/
>> Both of these would respond to:
>> Then I should see Aslak in the list of authors
> If you change the first one to
> Then /I should see "(.*?)"$/
> then it should no longer match that string.  Tightening up the regexs
> you use should help with the ambiguous steps.


Thanks Pat.


More information about the rspec-users mailing list