accounting v0.10.1 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_registered_categories(journal_id, categories)
assert_registered_categories(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_registered_categories(journal_id, categories)
refute_registered_categories(Accounting.Journal.id, [String.t]) :: true | no_return