mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +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
|
@ -2,7 +2,7 @@ require 'rails_helper'
|
|||
|
||||
RSpec.describe DomainCron do
|
||||
it 'should expire domains' do
|
||||
Fabricate(:zonefile_setting, origin: 'ee')
|
||||
Fabricate(:zone, origin: 'ee')
|
||||
@domain = Fabricate(:domain)
|
||||
|
||||
Setting.expire_warning_period = 1
|
||||
|
@ -25,7 +25,7 @@ RSpec.describe DomainCron do
|
|||
end
|
||||
|
||||
it 'should start redemption grace period' do
|
||||
Fabricate(:zonefile_setting, origin: 'ee')
|
||||
Fabricate(:zone, origin: 'ee')
|
||||
@domain = Fabricate(:domain)
|
||||
|
||||
old_valid_to = Time.zone.now - 10.days
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue