mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Add account after registrar create
This commit is contained in:
parent
c1211a0ac5
commit
f7a4dee1b6
5 changed files with 16 additions and 4 deletions
|
@ -16,9 +16,9 @@ describe Repp::AccountV1 do
|
|||
|
||||
context 'with valid registrar' do
|
||||
before :all do
|
||||
@registrar1 = Fabricate(:registrar1, accounts:
|
||||
[Fabricate(:account, { balance: '324.45', account_activities: [] })]
|
||||
)
|
||||
@registrar1 = Fabricate(:registrar1)
|
||||
@registrar1.accounts = [Fabricate(:account, { balance: '324.45', account_activities: [] })]
|
||||
@registrar1.save
|
||||
@api_user = Fabricate(:gitlab_api_user, registrar: @registrar1)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue