Skip to content

Commit

Permalink
Cucumber feature tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksieger committed Jan 14, 2010
1 parent 7bc34cf commit 91b1cc3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
1 change: 0 additions & 1 deletion features/calculator.feature
Expand Up @@ -8,4 +8,3 @@ Feature: Addition
And I have entered 70 into the calculator
When I press add
Then the result should be 120 on the screen

26 changes: 13 additions & 13 deletions features/steps/calculator_steps.rb
@@ -1,15 +1,15 @@
import Java::ruby.Calculator

Given /^I have entered (\d+) into the calculator$/ do |n|
pending
# @calculator ||= Calculator.new
# @calculator.push n.to_i
end

When /^I press add$/ do
pending
end

Then /^the result should be (\d+) on the screen$/ do |n|
pending
end
# Given /^I have entered (\d+) into the calculator$/ do |n|
# pending
# # @calculator ||= Calculator.new
# # @calculator.push n.to_i
# end
#
# When /^I press add$/ do
# pending
# end
#
# Then /^the result should be (\d+) on the screen$/ do |n|
# pending
# end

0 comments on commit 91b1cc3

Please sign in to comment.