Sha256: ef750ba038ed180c531406b139d846e75bd1bf1db05cd1ab49d0a565aa06e138

Contents?: true

Size: 496 Bytes

Versions: 7

Compression:

Stored size: 496 Bytes

Contents

# coding: UTF-8

# Marks scenario as pending
Then /^it should work$/ do
  pending
end.overridable

# Starts debugger, or Pry if installed
Then /^debugger$/ do
  if binding.respond_to? :pry
    binding.pry
  else
    debugger
  end

  true # Ruby will halt in this line
end.overridable

# Waits 2 seconds after each step
AfterStep('@slow-motion') do
  sleep 2
end

# Waits for keypress after each step
AfterStep('@single-step') do
  print "Single Stepping. Hit enter to continue"
  STDIN.getc
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spreewald-1.6.0 lib/spreewald/development_steps.rb
spreewald-1.5.5 lib/spreewald/development_steps.rb
spreewald-1.5.4 lib/spreewald/development_steps.rb
spreewald-1.5.3 lib/spreewald/development_steps.rb
spreewald-1.5.2 lib/spreewald/development_steps.rb
spreewald-1.5.1 lib/spreewald/development_steps.rb
spreewald-1.5.0 lib/spreewald/development_steps.rb