Sha256: 54c9d3404276881ebbdc64f6dacc5f061ada97ca47619257210b111dcb4d1fe8

Contents?: true

Size: 361 Bytes

Versions: 9

Compression:

Stored size: 361 Bytes

Contents

Given /^the following transactions:$/ do |table|
  Transaction.truncate
  table.hashes.each do |hash|
    Transaction.create(hash.symbolize_keys)
  end
end

Then /^I should only see the following transactions:$/ do |table|
  page_model.verify_transactions(table.hashes)
end

Then /^I should not see any transactions$/ do
  page_model.verify_no_transactions
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pagemodels-0.1.8 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb
pagemodels-0.1.7 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb
pagemodels-0.1.6 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb
pagemodels-0.1.5 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb
pagemodels-0.1.4 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb
pagemodels-0.1.3 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb
pagemodels-0.1.2 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb
pagemodels-0.1.1 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb
pagemodels-0.1.0 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb