To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorCash Withdrawal
As an account owner
I want to be able to pull money from an ATM
So I don't need to enter a bankshop and wait for hours
- Scenarios
-
- Successful withdrawal from an account in credit
-
- Given
- my account has been credited with 100
- When
- I withdraw 20
- Then
- 20 should be dispensed
- And
- the balance of my account should be 80
- Not succesful withdrawal with empty account
-
- Given
- my account has been credited with 20
- When
- I withdraw 40
- Then
- 0 should be dispensed
- And
- the balance of my account should be 20
Last published over 6 years ago by André Heijstek.