Skip to content

Instantly share code, notes, and snippets.

@zdennis
Created June 14, 2009 22:21
Show Gist options
  • Save zdennis/129843 to your computer and use it in GitHub Desktop.
Save zdennis/129843 to your computer and use it in GitHub Desktop.
webrat "should raise an error", :rails, :rack, :mechanize do
lambda { check "remember_me" }.should raise_error(Webrat::NotFoundError)
end
webrat "should raise an error", :selenium do
pending "currently broken"
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