mirror of
https://github.com/internetee/registry.git
synced 2025-08-15 14:03:49 +02:00
fixed binded fixture
This commit is contained in:
parent
8948d4ada7
commit
5cd861b71a
3 changed files with 13 additions and 3 deletions
6
test/fixtures/bank_statements.yml
vendored
6
test/fixtures/bank_statements.yml
vendored
|
@ -1,3 +1,7 @@
|
|||
one:
|
||||
bank_code: '1234'
|
||||
iban: GB33BUKB20201555555555
|
||||
iban: GB33BUKB20201555555555
|
||||
|
||||
two:
|
||||
bank_code: '4321'
|
||||
iban: GB82WEST12345698765432
|
8
test/fixtures/bank_transactions.yml
vendored
8
test/fixtures/bank_transactions.yml
vendored
|
@ -1,5 +1,11 @@
|
|||
one:
|
||||
bank_statement: one
|
||||
sum: 1
|
||||
currency: EUR
|
||||
description: Order nr 1 from registrar 1234567 second number 2345678
|
||||
iban: US75512108001245126199
|
||||
|
||||
with_statement:
|
||||
bank_statement: two
|
||||
sum: 1
|
||||
currency: EUR
|
||||
description: Order nr 1 from registrar 1234567 second number 2345678
|
||||
|
|
|
@ -6,7 +6,7 @@ class AdminAreaBankTransactionsIntegrationTest < ActionDispatch::IntegrationTest
|
|||
setup do
|
||||
sign_in users(:admin)
|
||||
@bank_statement = bank_statements(:one)
|
||||
@bank_transaction = bank_transactions(:one)
|
||||
@bank_transaction = bank_transactions(:with_statement)
|
||||
end
|
||||
|
||||
def test_new_page_accessible
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue