mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
parent
4075024d7e
commit
820dfebfbf
1 changed files with 0 additions and 11 deletions
|
@ -350,17 +350,6 @@ RSpec.describe Domain do
|
|||
@domain.statuses.include?(DomainStatus::SERVER_HOLD).should == true
|
||||
end
|
||||
|
||||
|
||||
it 'should set expired status and update outzone_at and delete_at' do
|
||||
domain = Fabricate(:domain)
|
||||
domain.statuses.should == ['ok']
|
||||
domain.set_expired
|
||||
domain.changes.keys.should == ['statuses', 'outzone_at', 'delete_at']
|
||||
domain.save
|
||||
|
||||
domain.statuses.should == ['expired']
|
||||
end
|
||||
|
||||
it 'should set pending update' do
|
||||
@domain.statuses = DomainStatus::OK # restore
|
||||
@domain.save
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue