Created
November 30, 2010 14:53
-
-
Save pupca/721781 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Factory.define :accounting_income_transaction do |transaction| | |
transaction.transaction_type "income" | |
transaction.transaction_mod_type "normal" | |
transaction.notice "První příjmová transakce" | |
transaction.amount 50.50 | |
transaction.negative false | |
transaction.active_at Date.new | |
transaction.planned 0 | |
transaction.metedata ""#todo | |
transaction.association :person, :factory => :person | |
transaction.association :accounting_account, :factory => :accounting_account | |
transaction.other_accounting_account_id nil | |
transaction.association :accounting_budget, :factory => :accounting_budget | |
transaction.other_accounting_budget_id nil | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment