Created
March 22, 2012 02:04
-
-
Save dcrosby42/2155134 to your computer and use it in GitHub Desktop.
Sample of using FirePoll.patiently in a web spec
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
patiently do | |
page.should have_content("Task Table") | |
page.should have_selector(".row:nth-child(1)", text: "Ride to work") | |
page.should have_selector(".row:nth-child(2)", text: "Write some code") | |
page.should have_selector(".row:nth-child(3)", text: "Go to The Meanwhile") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment