18. Cucumber
Scenario: Add two numbers
Given I have entered 50 into the calculator
And I have entered 70 into the calculator
When I press add
Then the result should be 128 on the screen
Given /I have entered (.*) into the calculator/ do |n|
calculator = Calculator.new
calculator.push(n.to_i)
end