#353 new
Ashley Moran

Story runner step matches are order dependent

Reported by Ashley Moran | March 31st, 2008 @ 03:06 PM | in No-Milestone-Assigned

I've come across this twice, this is the simple case. Given these two steps:

(A) Then 'the page should have a link "$text" to $path (page number $page_number)'

(B) Then 'the page should have a link "$text" to $path'

Then step (A) will match only if it is defined before (B). If (B) is defined first, it will be run even if the story contains the text for (A)

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Behaviour Driven Development for Ruby.

Shared Ticket Bins

People watching this ticket