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
dchelimsky-rspec-1.1.10 examples/stories/addition
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec/examples/stories/addition
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec/examples/stories/addition
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec/examples/stories/addition
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec/examples/stories/addition
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/addition
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/addition
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/addition
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/addition
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/addition
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/addition
pdf-storycards-0.0.1 spec/addition
pdf-storycards-0.1.0 spec/addition
picolena-0.0.99 app_generators/picolena/templates/vendor/plugins/rspec/examples/stories/addition
picolena-0.1.1 rails_plugins/rspec/examples/stories/addition
picolena-0.1.0 rails_plugins/rspec/examples/stories/addition
picolena-0.1.4 rails_plugins/rspec/examples/stories/addition
picolena-0.1.2 rails_plugins/rspec/examples/stories/addition
picolena-0.1.3 rails_plugins/rspec/examples/stories/addition
picolena-0.1.5 rails_plugins/rspec/examples/stories/addition