Skip to content

Instantly share code, notes, and snippets.

@brianknapp
Created April 16, 2013 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianknapp/5398322 to your computer and use it in GitHub Desktop.
Save brianknapp/5398322 to your computer and use it in GitHub Desktop.
Webrat page_should_contain matcher monkeypatch
# This is an alias method to give better language to the assert_contain matcher
module Webrat::Matchers
def page_should_contain content
assert_contain content
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment