Made bank robbery spec amount fit in database

This commit is contained in:
Ilion Beyst 2015-09-09 16:28:11 +02:00
parent 44e83e2aba
commit e67a660959

View file

@ -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}