From cc14d312b728efc0cff69b99a2eb28496c5b1165 Mon Sep 17 00:00:00 2001 From: dinsmol Date: Tue, 7 Sep 2021 10:49:02 +0300 Subject: [PATCH] fixed test --- test/system/admin_area/bank_statement_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/system/admin_area/bank_statement_test.rb b/test/system/admin_area/bank_statement_test.rb index 8630049dc..1405081e2 100644 --- a/test/system/admin_area/bank_statement_test.rb +++ b/test/system/admin_area/bank_statement_test.rb @@ -10,7 +10,7 @@ class AdminAreaBankStatementTest < ApplicationSystemTestCase def test_update_bank_statement visit admin_bank_statement_path(id: @invoice.id) - + click_link_or_button 'Add' fill_in 'Description', with: 'Invoice with id 123' @@ -55,7 +55,7 @@ class AdminAreaBankStatementTest < ApplicationSystemTestCase def test_can_bind_statement_transactions registrar = registrars(:bestnames) - registrar.issue_prepayment_invoice(amount: 500) + registrar.issue_prepayment_invoice(500) invoice = registrar.invoices.last create_bank_statement