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.9.2 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.9.0 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.8.11 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.8.10 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.8.9 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.8.8 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.8.7 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.8.6 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.8.5 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.8.4 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.8.3 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.8.2 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.8.0 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.7.6 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.7.5 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.7.4 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.7.3 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.7.2 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.7.1 lib/cucumber/nagios/steps/benchmark_steps.rb
cucumber-nagios-0.7.0 lib/cucumber/nagios/steps/benchmark_steps.rb