mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Merge branch 'rspec' into registry-430
This commit is contained in:
commit
6c3a96b2ec
1 changed files with 6 additions and 0 deletions
|
@ -15,5 +15,11 @@ FactoryGirl.define do
|
||||||
create(:account, registrar: registrar, balance: 1_000_000)
|
create(:account, registrar: registrar, balance: 1_000_000)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
factory :registrar_with_zero_balance do
|
||||||
|
after :create do |registrar|
|
||||||
|
create(:account, registrar: registrar, balance: 0)
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue