Permalink
Browse files

Changed should see error messages step to actually use a regexp

  • Loading branch information...
1 parent 41fb4b9 commit 49574e3ea32835b76282da83b502edf54661f9fe @qrush qrush committed Apr 9, 2009
@@ -1,7 +1,7 @@
# General
Then /^I should see error messages$/ do
- Then %{I should see "error(s)? prohibited"}
+ response.should contain(/error(s)? prohibited/)
end
# Database

0 comments on commit 49574e3

Please sign in to comment.