mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Story#110308584 - update tests of zonefile
This commit is contained in:
parent
ba51028826
commit
713e87ae1a
1 changed files with 4 additions and 4 deletions
|
@ -8,8 +8,8 @@ describe ZonefileSetting do
|
|||
d = Fabricate(:domain_with_dnskeys, name: 'testpri.ee')
|
||||
d.nameservers << Nameserver.new({
|
||||
hostname: "ns.#{d.name}",
|
||||
ipv4: '123.123.123.123',
|
||||
ipv6: 'FE80:0000:0000:0000:0202:B3FF:FE1E:8329'
|
||||
ipv4: ['123.123.123.123'],
|
||||
ipv6: ['FE80:0000:0000:0000:0202:B3FF:FE1E:8329']
|
||||
})
|
||||
|
||||
@zonefile = ActiveRecord::Base.connection.execute(
|
||||
|
@ -46,8 +46,8 @@ describe ZonefileSetting do
|
|||
statuses: ['serverHold', 'serverDeleteProhibited', 'clientHold'])
|
||||
d.nameservers << Nameserver.new({
|
||||
hostname: "ns.#{d.name}",
|
||||
ipv4: '123.123.123.123',
|
||||
ipv6: 'FE80:0000:0000:0000:0202:B3FF:FE1E:8329'
|
||||
ipv4: ['123.123.123.123'],
|
||||
ipv6: ['FE80:0000:0000:0000:0202:B3FF:FE1E:8329']
|
||||
})
|
||||
|
||||
@zonefile = ActiveRecord::Base.connection.execute(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue