mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 07:04:47 +02:00
Add registrant verification versions table according to existing logic
Creates a log_registrant_verifications table and version class as per https://github.com/internetee/registry/issues/1425#issuecomment-567117002
This commit is contained in:
parent
7f308d4123
commit
c4ffdbd650
6 changed files with 300 additions and 202 deletions
|
@ -5,7 +5,7 @@ class RegistrantVerificationTest < ActiveSupport::TestCase
|
|||
registrant_verification = registrant_verifications(:one)
|
||||
random_action = "random#{rand(100)}"
|
||||
|
||||
assert_difference -> { PaperTrail::Version.count } do
|
||||
assert_difference -> { RegistrantVerificationVersion.count } do
|
||||
registrant_verification.update_attributes!(action: random_action)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue