Skip to content

Instantly share code, notes, and snippets.

@hakanensari
Created July 31, 2009 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hakanensari/159359 to your computer and use it in GitHub Desktop.
Save hakanensari/159359 to your computer and use it in GitHub Desktop.
Transaction when first created
- should belong to an account
- should have an amount
- should have a description
- should not reconcile
Transaction when matched with a transaction of the inverse amount
- should reconcile
- should not reconcile when match is removed
Transaction when matched with two transactions totalling the inverse amount
- should reconcile
- should not reconcile when one of the matches is removed
Transaction when matched with two transactions totalling the inverse amount and one of the matches is matched with yet another transaction
- should not save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment