Sha256: 41f362dd75c206c9283a5258fde7e7c7b5e53a5630c725adca52e5e4e9569e17

Contents?: true

Size: 206 Bytes

Versions: 30

Compression:

Stored size: 206 Bytes

Contents

Given /^I am benchmarking$/ do 
  @scenario_start_time = Time.now
end

Then /^the elapsed time should be less than (\d+) seconds$/ do |time|
  (@scenario_start_time - Time.now).should > time.to_i * -1
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
cucumber-nagios-0.6.8 lib/generators/project/features/steps/benchmark_steps.rb
cucumber-nagios-0.6.7 lib/generators/project/features/steps/benchmark_steps.rb
cucumber-nagios-0.6.6 lib/generators/project/features/steps/benchmark_steps.rb
cucumber-nagios-0.6.5 lib/generators/project/features/steps/benchmark_steps.rb
cucumber-nagios-0.6.4 lib/generators/project/features/steps/benchmark_steps.rb
cucumber-nagios-0.6.3 lib/generators/project/features/steps/benchmark_steps.rb
cucumber-nagios-0.6.2 lib/generators/project/features/steps/benchmark_steps.rb
cucumber-nagios-0.6.1 lib/generators/project/features/steps/benchmark_steps.rb
cucumber-nagios-0.6.0 lib/generators/project/features/steps/benchmark_steps.rb
cucumber-nagios-0.5.1 lib/generators/project/features/steps/benchmark_steps.rb