Fix double versioning on Domain & Contact models

This commit is contained in:
Alex Sherman 2020-02-12 18:51:48 +05:00
parent bf67180bce
commit a1651ca1b9
8 changed files with 31 additions and 10 deletions

View file

@ -5,7 +5,7 @@ class ContactAuditLogTest < ActionDispatch::IntegrationTest
contact = contacts(:john)
contact.legal_document_id = 1
assert_difference 'contact.versions.count', 2 do
assert_difference 'contact.versions.count', 1 do
contact.save!
end