accounting v0.9.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_registered_category(journal_id, category)
assert_registered_category(Accounting.Journal.id, String.t) ::
  true |
  no_return
Link to this function assert_transaction_with_line_item(journal_id, party, date, line_item)
assert_transaction_with_line_item(Accounting.Journal.id, String.t, Date.t, [Accounting.LineItem.t]) ::
  true |
  no_return
Link to this function refute_transaction(journal_id, from, date)
refute_transaction(Accounting.Journal.id, String.t, Date.t) ::
  true |
  no_return