Sha256: a08a8072be41f8eec3587dd28bc556f7d904a4b414c3c4ab922c1253b357b97b

Contents?: true

Size: 303 Bytes

Versions: 33

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
  puts 'Debugging...'
  unless ENV['RUBYMINE'].present?
    require 'debug'
    debugger
  end
end

Version data entries

33 entries across 33 versions & 3 rubygems

Version Path
kiteditor-1.0.25 features/step_definitions/debug_steps.rb
kiteditor-1.0.24 features/step_definitions/debug_steps.rb
kiteditor-1.0.23 features/step_definitions/debug_steps.rb
kiteditor-1.0.22 features/step_definitions/debug_steps.rb
kiteditor-1.0.21 features/step_definitions/debug_steps.rb
kiteditor-1.0.20 features/step_definitions/debug_steps.rb
kiteditor-1.0.19 features/step_definitions/debug_steps.rb
kiteditor-1.0.18 features/step_definitions/debug_steps.rb
kiteditor-1.0.17 features/step_definitions/debug_steps.rb
kiteditor-1.0.16 features/step_definitions/debug_steps.rb
kiteditor-1.0.14 features/step_definitions/debug_steps.rb
kiteditor-1.0.13 features/step_definitions/debug_steps.rb
kiteditor-1.0.12 features/step_definitions/debug_steps.rb
kiteditor-1.0.11 features/step_definitions/debug_steps.rb
kiteditor-1.0.10 features/step_definitions/debug_steps.rb
kiteditor-1.0.9 features/step_definitions/debug_steps.rb
kiteditor-1.0.8 features/step_definitions/debug_steps.rb
kiteditor-1.0.7 features/step_definitions/debug_steps.rb
kiteditor-1.0.6 features/step_definitions/debug_steps.rb
kiteditor-1.0.5 features/step_definitions/debug_steps.rb