Commit 414bafe6f8990dbb526e4641c10730654e9b3a29

Authored by Braulio Bhavamitra
1 parent 7aa42ede

cucumber: add pry debug step

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
features/support/debug.rb
... ... @@ -21,3 +21,8 @@ Before do |scenario|
21 21 puts "Can't find debugger or pry to debug"
22 22 end
23 23 end
  24 +
  25 +Then /^I open pry$/ do
  26 + require'pry';binding.pry
  27 +end
  28 +
... ...