Created
February 11, 2013 12:35
-
-
Save enajski/4754201 to your computer and use it in GitHub Desktop.
Bind pry to inspect failing cucumber steps in development.
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
require 'pry' | |
After( '@developing' ) do |scenario| | |
binding.pry if scenario.failed? | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment