Skip to content

Instantly share code, notes, and snippets.

@enajski
Created February 11, 2013 12:35
Show Gist options
  • Save enajski/4754201 to your computer and use it in GitHub Desktop.
Save enajski/4754201 to your computer and use it in GitHub Desktop.
Bind pry to inspect failing cucumber steps in development.
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