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
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/tcl/features/step_definitions/fib_steps.rb
ftl-0.2.0 vendor/bundle/gems/cucumber-1.2.0/examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.2.0 examples/tcl/features/step_definitions/fib_steps.rb
frameworks-capybara-0.2.0.rc6 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/tcl/features/step_definitions/fib_steps.rb
frameworks-capybara-0.2.0.rc5 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/tcl/features/step_definitions/fib_steps.rb
frameworks-capybara-0.2.0.rc4 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/tcl/features/step_definitions/fib_steps.rb
frameworks-capybara-0.2.0.rc3 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/tcl/features/step_definitions/fib_steps.rb
frameworks-capybara-0.2.0.rc2 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/tcl/features/step_definitions/fib_steps.rb
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/tcl/features/step_definitions/fib_steps.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/cucumber-1.1.9/examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.1.9 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.1.8 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.1.7 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.1.6 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.1.5 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.1.4 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.1.3 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.1.2 examples/tcl/features/step_definitions/fib_steps.rb
cucumber-1.1.1 examples/tcl/features/step_definitions/fib_steps.rb
js-log-cucumber-1.0.2 examples/tcl/features/step_definitions/fib_steps.rb