Sha256: 1542766f3b2ba5d3bbf83d45c644048792f975c595124148bb2286ffcfab653b

Contents?: true

Size: 339 Bytes

Versions: 4

Compression:

Stored size: 339 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|
  verify_transactions(table.hashes)
end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pagemodels-0.2.3 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb
pagemodels-0.2.2 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb
pagemodels-0.2.1 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb
pagemodels-0.2.0 examples/rails_and_cucumber/features/step_definitions/financial_reporting_steps.rb