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