Skip to content

Instantly share code, notes, and snippets.

@perryqh
Created November 12, 2009 22:30
Show Gist options
  • Save perryqh/233370 to your computer and use it in GitHub Desktop.
Save perryqh/233370 to your computer and use it in GitHub Desktop.
Then /^I should see the secret$/ do
secret = model('secret')
response.should contain(secret.title)
response.should contain(secret.user_name)
response.should contain(secret.url)
response.should contain(secret.label)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment