Skip to content

Instantly share code, notes, and snippets.

@kamal
Created August 13, 2009 23:13
Show Gist options
  • Save kamal/167511 to your computer and use it in GitHub Desktop.
Save kamal/167511 to your computer and use it in GitHub Desktop.
Then /^I should see "(.*)"$/ do |text|
response.body.should =~ /#{text}/m
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment