Skip to content

Instantly share code, notes, and snippets.

@gaffo
Forked from zdennis/gist:129843
Created June 14, 2009 22:23
Show Gist options
  • Save gaffo/129845 to your computer and use it in GitHub Desktop.
Save gaffo/129845 to your computer and use it in GitHub Desktop.
webrat "should raise an error", :pass => [:rails, :rack, :mechanize], :pending => [:selenium] do
lambda { check "remember_me" }.should raise_error(Webrat::NotFoundError)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment