Created
April 25, 2013 19:56
-
-
Save jasonblanchard/5462640 to your computer and use it in GitHub Desktop.
Great step definition for debugging Cucumber tests. Put it anywhere in the steps to see what Capybara is looking at.
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
Then(/^show page$/) do | |
puts page.body | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment