mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Rubocop updates
This commit is contained in:
parent
17eec8e298
commit
7e340415e1
6 changed files with 9 additions and 4 deletions
|
@ -239,7 +239,7 @@ describe Domain do
|
|||
DomainStatus::CLIENT_HOLD,
|
||||
DomainStatus::EXPIRED,
|
||||
DomainStatus::SERVER_HOLD,
|
||||
DomainStatus::DELETE_CANDIDATE,
|
||||
DomainStatus::DELETE_CANDIDATE
|
||||
]
|
||||
|
||||
@domain.save
|
||||
|
|
|
@ -41,7 +41,9 @@ describe ZonefileSetting do
|
|||
|
||||
it 'should not place serverHold nor clientHold domains into zonefile' do
|
||||
Fabricate(:zonefile_setting)
|
||||
d = Fabricate(:domain_with_dnskeys, name: 'testzone.ee', statuses: ['serverHold', 'serverDeleteProhibited', 'clientHold'])
|
||||
d = Fabricate(:domain_with_dnskeys,
|
||||
name: 'testzone.ee',
|
||||
statuses: ['serverHold', 'serverDeleteProhibited', 'clientHold'])
|
||||
d.nameservers << Nameserver.new({
|
||||
hostname: "ns.#{d.name}",
|
||||
ipv4: '123.123.123.123',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue