accounting v0.3.3 Accounting.Assertions

Summary

Functions

assert_created_account(number)
assert_created_account(String.t) :: true | no_return
assert_received_money_with_line_item(from, date, line_item)
assert_received_money_with_line_item(String.t, Date.t, [Accounting.LineItem.t]) ::
  true |
  no_return
assert_registered_category(category)
assert_registered_category(String.t) :: true | no_return
assert_spent_money_with_line_item(to, date, line_item)
assert_spent_money_with_line_item(String.t, Date.t, [Accounting.LineItem.t]) ::
  true |
  no_return
refute_received_money(from, date)
refute_received_money(String.t, Date.t) :: true | no_return
refute_spent_money(to, date)
refute_spent_money(String.t, Date.t) :: true | no_return