mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Fixed tests
This commit is contained in:
parent
76e19b7e90
commit
f5e7f23ddf
6 changed files with 8 additions and 30 deletions
|
@ -40,6 +40,7 @@ class DomainContact < ActiveRecord::Base
|
|||
|
||||
def domain_snapshot
|
||||
return true if domain.nil?
|
||||
return true if domain.versions.count == 0 # avoid snapshot on creation
|
||||
domain.create_version
|
||||
true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue