Skip to content

Instantly share code, notes, and snippets.

@r38y
Created November 6, 2008 03:14
Show Gist options
  • Save r38y/22511 to your computer and use it in GitHub Desktop.
Save r38y/22511 to your computer and use it in GitHub Desktop.
['name', 'email', 'website', 'captcha_solution'].each do |field|
it "should show the #{field} field" do
render '/comments/_form'
response.should have_tag("input#comment_#{field}")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment