From e67a66095983de105ad8f01cdc0790d414293373 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Wed, 9 Sep 2015 16:28:11 +0200 Subject: [PATCH] Made bank robbery spec amount fit in database --- spec/controllers/transactions_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/transactions_controller_spec.rb b/spec/controllers/transactions_controller_spec.rb index 19e3e6f..e96cc51 100644 --- a/spec/controllers/transactions_controller_spec.rb +++ b/spec/controllers/transactions_controller_spec.rb @@ -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}