Sha256: 422458c466e2c817303b15a3841c9225f1eba2f42896be795036e3f3494c3f85

Contents?: true

Size: 949 Bytes

Versions: 13

Compression:

Stored size: 949 Bytes

Contents

Feature: Viewing financial reports
  As an Acme Financial Reporting accountant
  I want to see reports for specific types of transaction
  So that I know how much commission to pay my suppliers.

Background:
  Given the following transactions:
  | type | amount | year |
  | visa | $100   | 2011 |
  | cash | $50    | 2011 |
  | visa | $30    | 1999 |
  | visa | $80    | 2011 |

Scenario: Viewing visa transactions for 2011
  When I open the financial report page for "visa" in "2011"
  Then I should only see the following transactions:
  | type | amount |
  | visa | $100   |
  | visa | $80    |
  
Scenario: Viewing cash transactions for 2011
  When I open the financial report page for "cash" in "2011"
  Then I should only see the following transactions:
  | type | amount |
  | cash | $50   |  

Scenario: Viewing cash transactions for 1999
  When I open the financial report page for "cash" in "1999"
  Then I should not see any transactions

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
pagemodels-0.2.3 examples/rails_and_cucumber/features/financial_reporting.feature
pagemodels-0.2.2 examples/rails_and_cucumber/features/financial_reporting.feature
pagemodels-0.2.1 examples/rails_and_cucumber/features/financial_reporting.feature
pagemodels-0.2.0 examples/rails_and_cucumber/features/financial_reporting.feature
pagemodels-0.1.8 examples/rails_and_cucumber/features/financial_reporting.feature
pagemodels-0.1.7 examples/rails_and_cucumber/features/financial_reporting.feature
pagemodels-0.1.6 examples/rails_and_cucumber/features/financial_reporting.feature
pagemodels-0.1.5 examples/rails_and_cucumber/features/financial_reporting.feature
pagemodels-0.1.4 examples/rails_and_cucumber/features/financial_reporting.feature
pagemodels-0.1.3 examples/rails_and_cucumber/features/financial_reporting.feature
pagemodels-0.1.2 examples/rails_and_cucumber/features/financial_reporting.feature
pagemodels-0.1.1 examples/rails_and_cucumber/features/financial_reporting.feature
pagemodels-0.1.0 examples/rails_and_cucumber/features/financial_reporting.feature