mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
Refactor zones
- Rename "zonefile_setting" to "zone" - Remove version #475
This commit is contained in:
parent
f1d7e53734
commit
bff7437277
51 changed files with 425 additions and 389 deletions
12
spec/factories/dns/zone.rb
Normal file
12
spec/factories/dns/zone.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
FactoryGirl.define do
|
||||
factory :zone, class: DNS::Zone do
|
||||
origin 'test'
|
||||
ttl 1
|
||||
refresh 1
|
||||
add_attribute :retry, 1
|
||||
expire 1
|
||||
minimum_ttl 1
|
||||
email 'test@test.test'
|
||||
master_nameserver 'test.test'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue