Permalink
Browse files

Inner loop - Green: Implement store negative amount transaction

  • Loading branch information...
1 parent 13c1b41 commit 83a326c01f7b6f04e293ab9f49a403cdefd1e80a @CarlosMChica committed May 2, 2016
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/src/main/java/me/panavtec/androidbankkata/account/BankAccount.java
@@ -23,6 +23,7 @@ public void deposit(int amount) {
}
public void withdraw(int amount) {
+ repository.store(new Transaction(-amount, clock.today()));
}
public void showStatement() {

0 comments on commit 83a326c

Please sign in to comment.