Made bank robbery spec amount fit in database
This commit is contained in:
parent
44e83e2aba
commit
e67a660959
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ RSpec.describe TransactionsController, type: :controller do
|
|||
post :create, transaction: {
|
||||
debtor: @creditor.name,
|
||||
creditor: @debtor.name,
|
||||
euros: 10000000000000,
|
||||
euros: 10000000,
|
||||
message: 'DIT IS OVERVAL'
|
||||
}
|
||||
end.not_to change {Transaction.count}
|
||||
|
|
Loading…
Reference in a new issue