accounting v0.11.0 Accounting.Assertions
This module contains a set of assertion functions.
Link to this section Summary
Link to this section Functions
Link to this function
assert_created_account(journal_id, number)
assert_created_account(Accounting.Journal.id, String.t) :: true | no_return
Link to this function
assert_recorded_entries(journal_id, entries)
assert_recorded_entries(Accounting.Journal.id, [Accounting.Entry.t]) :: true | no_return
Link to this function
assert_recorded_invoices(journal_id, entries)
assert_recorded_invoices(Accounting.Journal.id, [Accounting.Entry.t]) :: true | no_return
Link to this function
assert_registered_categories(journal_id, categories)
assert_registered_categories(Accounting.Journal.id, [String.t]) :: true | no_return
Link to this function
assert_setup_account_conversions(journal_id, month, year, accounts)
assert_setup_account_conversions(Accounting.Journal.id, 1..12, pos_integer, [Accounting.Account.setup, ...]) :: true | no_return
Link to this function
assert_setup_accounts(journal_id, accounts)
assert_setup_accounts(Accounting.Journal.id, [Accounting.Account.setup, ...]) :: true | no_return
Link to this function
refute_created_account(journal_id, number)
refute_created_account(Accounting.Journal.id, String.t) :: true | no_return
Link to this function
refute_recorded_entries(journal_id, entries)
refute_recorded_entries(Accounting.Journal.id, [Accounting.Entry.t]) :: true | no_return
Link to this function
refute_recorded_invoices(journal_id, entries)
refute_recorded_invoices(Accounting.Journal.id, [Accounting.Entry.t]) :: true | no_return
Link to this function
refute_registered_categories(journal_id, categories)
refute_registered_categories(Accounting.Journal.id, [String.t]) :: true | no_return
Link to this function
refute_setup_account_conversions(journal_id, month, year, accounts)
refute_setup_account_conversions(Accounting.Journal.id, 1..12, pos_integer, [Accounting.Account.setup, ...]) :: true | no_return
Link to this function
refute_setup_accounts(journal_id, accounts)
refute_setup_accounts(Accounting.Journal.id, [Accounting.Account.setup, ...]) :: true | no_return