12 Jul 2013, 10:17
Generic-user-small

vivek mahant (2 posts)

C:\demo>cucumber –format progress .F-

(::) failed steps (::)

undefined method success?' for nil:NilClass (NoMethodError) ./features/step_definitions/calculator_steps.rb:7:in /^Calculator is run$/’ features\adding.feature:5:in `When Calculator is run’

Failing Scenarios: cucumber features\adding.feature:3 # Scenario: Add two numbers

1 scenario (1 failed) 3 steps (1 failed, 1 skipped, 1 passed) 0m0.003s

01 Oct 2013, 15:58
Icon_pragsmall

Michael Stamps (1 post)

replace the single quote marks shown below with “back ticks” (left of the 1 key on an EN keyboard)

@output = ‘ruby calc.rb #{@input}’

  You must be logged in to comment