Hi,
I have a number of scenarios that are virtually the same apart from
one piece of test data
Scenario: The user is returned search links with expected search
text description
Given a logged in xx user
When clicks 'Advanced Search'
And enters 'Aidy' in the Contributors field
And clicks search
Then the resultant links are displayed with the search text in
each description
So, in the first clause of the When method, I would like to change the
string value.
Is there any way of doing this better than copying and pasting the
above Scenario with one different string value and re-running that
test?
Regards
Aidy
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users