mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
Fix double versioning on Domain & Contact models
This commit is contained in:
parent
bf67180bce
commit
a1651ca1b9
8 changed files with 31 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue