Sha256: cf14f819f1769d72c956c933a164d8f8066268192bd6bd1115d7f3642827f8b2

Contents?: true

Size: 755 Bytes

Versions: 56

Compression:

Stored size: 755 Bytes

Contents

This is a story about a calculator. The text up here above the Story: declaration
won't be processed, so you can write whatever you wish!

Story: simple addition

  As an accountant
  I want to add numbers
  So that I can count beans

  Scenario: add one plus one
    Given an addend of 1
    And an addend of 1
    
    When the addends are addeds
    
    Then the sum should be 3
    And the corks should be popped
  
  Scenario: add two plus five
    Given an addend of 2
    And an addend of 5
    
    When the addends are added
    
    Then the sum should be 7
    Then it should snow
    
  Scenario: add three more
    GivenScenario add two plus five
    And an addend of 3
    
    When the addends are added
    
    Then the sum should be 10

Version data entries

56 entries across 56 versions & 10 rubygems

Version Path
pictrails-0.5.0 vendor/plugins/rspec/examples/stories/addition
radiant-0.6.5.1 vendor/plugins/rspec/examples/stories/addition
radiant-0.6.5 vendor/plugins/rspec/examples/stories/addition
radiant-0.6.6 vendor/plugins/rspec/examples/stories/addition
radiant-0.6.7 vendor/plugins/rspec/examples/stories/addition
radiant-0.6.9 vendor/plugins/rspec/examples/stories/addition
radiant-0.6.8 vendor/plugins/rspec/examples/stories/addition
rspec-0.0.10 examples/stories/addition
rspec-1.1.10 examples/stories/addition
rspec-1.1.0 examples/stories/addition
rspec-1.1.1 examples/stories/addition
rspec-1.1.3 examples/stories/addition
rspec-1.1.4 examples/stories/addition
rspec-1.1.5 examples/stories/addition
rspec-1.1.6 examples/stories/addition
rspec-1.1.11 examples/stories/addition
rspec-1.1.2 examples/stories/addition
rspec-1.1.7 examples/stories/addition
rspec-1.1.8 examples/stories/addition
rspec-1.1.9 examples/stories/addition