Fixed tests

This commit is contained in:
Andres Keskküla 2014-10-22 12:36:32 +03:00
parent 76e19b7e90
commit f5e7f23ddf
6 changed files with 8 additions and 30 deletions

View file

@ -66,7 +66,7 @@ class Contact < ActiveRecord::Base
def domains_snapshot
(domains + domains_owned).uniq.each do |domain|
next unless domain.is_a?(Domain)
#next if domain.versions.last == domain.create_snapshot
# next if domain.versions.last == domain.create_snapshot
domain.create_version # Method from paper_trail
end
end