mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 07:34:45 +02:00
Add tests
This commit is contained in:
parent
8ca320244b
commit
77b9d02b5d
2 changed files with 27 additions and 0 deletions
|
@ -592,6 +592,8 @@ class Domain < ApplicationRecord
|
|||
def admin_status_update(update)
|
||||
update_unless_locked_by_registrant(update)
|
||||
update_not_by_locked_statuses(update)
|
||||
return unless update
|
||||
|
||||
# check for deleted status
|
||||
statuses.each do |s|
|
||||
unless update.include? s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue