mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Convert specs to tests
This commit is contained in:
parent
e0d3e14df4
commit
6faf0c3dd7
4 changed files with 28 additions and 30 deletions
|
@ -1,11 +0,0 @@
|
|||
FactoryBot.define do
|
||||
factory :bank_statement do
|
||||
bank_code { '767' }
|
||||
iban { 'EE557700771000598731' }
|
||||
queried_at { Time.zone.now }
|
||||
|
||||
after :build do |bank_statement|
|
||||
bank_statement.bank_transactions << FactoryBot.create_pair(:bank_transaction)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue