Sha256: de055b1216d71080dcb33511cb90e5d5c623eb5430a8ad7478eb53cbb6c9e531

Contents?: true

Size: 562 Bytes

Versions: 2

Compression:

Stored size: 562 Bytes

Contents

Feature: Addition
  In order to avoid silly mistakes
  As a math idiot 
  I want to be told the sum of two numbers

  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 130 on the screen
    And the result class should be Fixnum

    | input_1 | input_2 | button | output | class  |
    | 20      | 30      | add    | 50     | Fixnum |
    | 2       | 5       | add    | 7      | Fixnum |
    | 0       | 40      | add    | 40     | Fixnum |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aslakhellesoy-cucumber-0.1.3 examples/calculator/features/addition.feature
aslakhellesoy-cucumber-0.1.4 examples/calculator/features/addition.feature