Sha256: 3eb58073efa9464ce44cb5d7eed827953eaf14ed07445d553ccbeb3b92ee6029

Contents?: true

Size: 196 Bytes

Versions: 118

Compression:

Stored size: 196 Bytes

Contents

When /^I ask Tcl to calculate fibonacci for (\d+)$/ do |n|
  @fib_result = @fib.eval("fib #{n}").to_i
end

Then /^it should give me (\d+)$/ do |expected|
  @fib_result.should == expected.to_i
end

Version data entries

118 entries across 114 versions & 14 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/cucumber-1.3.16/examples/tcl/features/step_definitions/fib_steps.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/cucumber-1.3.18/examples/tcl/features/step_definitions/fib_steps.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/cucumber-1.3.18/examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.3.20 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.3.19 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.3.18 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.0.0.beta.3 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.3.17 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.0.0.beta.2 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-2.0.0.beta.1 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.3.16 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.3.15 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.3.14 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.3.13 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.3.12 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.3.11 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.3.10 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.3.9 examples/tcl/features/step_definitions/fib_steps.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/cucumber-1.2.1/examples/tcl/features/step_definitions/fib_steps.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/cucumber-1.2.1/examples/tcl/features/step_definitions/fib_steps.rb