Sha256: 0ea938c9b9bb5e280cf839b8373bc8be8869f67f06be2c23c67575272f988c57

Contents?: true

Size: 303 Bytes

Versions: 123

Compression:

Stored size: 303 Bytes

Contents

from py_dsl import *

@Given("^I ask python to calculate fibonacci up to (\d+)$")
def calc_fib_upto(n):
    print("CALCULATING FIB")
    #self.fib_result = fib.fib(n.to_i)
    
@Given("^it should give me (\[.*\])$")
def fib_should_be(n):
    print("COMPARING FIB")
    #self.fib_result = fib.fib(n.to_i)

Version data entries

123 entries across 121 versions & 15 rubygems

Version Path
frameworks-capybara-0.2.0.rc3 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/python/features/step_definitions/fib_steps.py
frameworks-capybara-0.2.0.rc2 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/python/features/step_definitions/fib_steps.py
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/python/features/step_definitions/fib_steps.py
radiant-1.0.0 ruby-debug/ruby/1.8/gems/cucumber-1.1.9/examples/python/features/step_definitions/fib_steps.py
cucumber-1.1.9 examples/python/features/step_definitions/fib_steps.py
cucumber-1.1.8 examples/python/features/step_definitions/fib_steps.py
cucumber-1.1.7 examples/python/features/step_definitions/fib_steps.py
cucumber-1.1.6 examples/python/features/step_definitions/fib_steps.py
cucumber-1.1.5 examples/python/features/step_definitions/fib_steps.py
cucumber-1.1.4 examples/python/features/step_definitions/fib_steps.py
cucumber-1.1.3 examples/python/features/step_definitions/fib_steps.py
cucumber-1.1.2 examples/python/features/step_definitions/fib_steps.py
cucumber-1.1.1 examples/python/features/step_definitions/fib_steps.py
js-log-cucumber-1.0.2 examples/python/features/step_definitions/fib_steps.py
cucumber-1.1.0 examples/python/features/step_definitions/fib_steps.py
cucumber-1.0.6 examples/python/features/step_definitions/fib_steps.py
cucumber-1.0.5 examples/python/features/step_definitions/fib_steps.py
cucumber-1.0.4 examples/python/features/step_definitions/fib_steps.py
cucumber-1.0.3 examples/python/features/step_definitions/fib_steps.py
cucumber-1.0.2 examples/python/features/step_definitions/fib_steps.py