Created
April 18, 2012 08:14
-
-
Save rubemz/2411979 to your computer and use it in GitHub Desktop.
This file contains 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
class Page | |
include CapybaraPageObject::Page | |
element(:send) { find_button('Send') } | |
# would be the same as | |
def send | |
find_button('Send') | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment