Sha256: 005b014aca9c78878d1a55d86da8c58f99fe8d4a9bd41d8cb7c3f1299503df9c

Contents?: true

Size: 303 Bytes

Versions: 4

Compression:

Stored size: 303 Bytes

Contents

# DEBUG / DELAY STEPS
#------------------------------------------------------------------------------

When /^(?:|I )sleep for (\d+) seconds?$/ do |seconds|
  sleep(seconds.to_i)
end

When /^I debug?$/ do
  put 'Debugging...'
  unless ENV['RUBYMINE'].present?
    require 'debug'
    debugger
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mercury-rails-0.2.0 features/step_definitions/debug_steps.rb
mercury-rails-0.1.2 features/step_definitions/debug_steps.rb
mercury-rails-0.1.1 features/step_definitions/debug_steps.rb
mercury-rails-0.1.0 features/step_definitions/debug_steps.rb