Skip to content

Instantly share code, notes, and snippets.

@gaffo
Forked from zdennis/gist:129832
Created June 14, 2009 21:56
Show Gist options
  • Save gaffo/129833 to your computer and use it in GitHub Desktop.
Save gaffo/129833 to your computer and use it in GitHub Desktop.
# the current spike
simulated "should raise an error" do
lambda { check "remember_me" }.should raise_error(Webrat::NotFoundError)
end
# our fake tagging, since we own "simualated"
simulated "should raise an error", :rack, :mechanize, :rails 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