Created
April 16, 2013 18:29
-
-
Save brianknapp/5398322 to your computer and use it in GitHub Desktop.
Webrat page_should_contain matcher monkeypatch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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