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
cucumber-0.6.3 examples/python/features/step_definitions/fib_steps.py
davidtrogers-cucumber-0.6.2 examples/python/features/step_definitions/fib_steps.py
cucumber-0.6.2 examples/python/features/step_definitions/fib_steps.py
cucumber-0.6.1 examples/python/features/step_definitions/fib_steps.py
cucumber-0.6.0 examples/python/features/step_definitions/fib_steps.py
cucumber-0.5.3 examples/python/features/step_definitions/fib_steps.py
cucumber-0.5.2 examples/python/features/step_definitions/fib_steps.py
cucumber-0.5.1 examples/python/features/step_definitions/fib_steps.py
cucumber-0.5.0 examples/python/features/step_definitions/fib_steps.py
cucumber-0.4.5.rc2 examples/python/features/step_definitions/fib_steps.py
kbaum-cucumber-0.4.5.pre examples/python/features/step_definitions/fib_steps.py
cucumber-0.4.5.rc1 examples/python/features/step_definitions/fib_steps.py
middleman-0.10.17 vendor/gems/gems/cucumber-0.4.4/examples/python/features/step_definitions/fib_steps.py
middleman-0.10.16 vendor/gems/gems/cucumber-0.4.4/examples/python/features/step_definitions/fib_steps.py
middleman-0.10.15 vendor/gems/gems/cucumber-0.4.4/examples/python/features/step_definitions/fib_steps.py
rackjour-0.1.8 vendor/gems/gems/cucumber-0.4.4/examples/python/features/step_definitions/fib_steps.py
middleman-0.10.14 vendor/gems/gems/cucumber-0.4.4/examples/python/features/step_definitions/fib_steps.py
cucumber-0.4.4 examples/python/features/step_definitions/fib_steps.py
cucumber-0.4.3 examples/python/features/step_definitions/fib_steps.py
cucumber-0.4.2 examples/python/features/step_definitions/fib_steps.py