mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
added dedicated registrant model
This commit is contained in:
parent
2ed9672eb5
commit
321e28b8c7
10 changed files with 40 additions and 14 deletions
|
@ -715,7 +715,7 @@ describe 'EPP Contact', epp: true do
|
|||
end
|
||||
|
||||
it 'fails if contact has associated domain' do
|
||||
@domain = Fabricate(:domain, registrar: @registrar1, registrant: @contact)
|
||||
@domain = Fabricate(:domain, registrar: @registrar1, registrant: Registrant.find(@contact.id))
|
||||
@domain.registrant.present?.should == true
|
||||
|
||||
response = delete_request
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue