mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 04:37:30 +02:00
Creates a log_registrant_verifications table and version class as per https://github.com/internetee/registry/issues/1425#issuecomment-567117002
12 lines
364 B
Ruby
12 lines
364 B
Ruby
require 'test_helper'
|
|
|
|
class RegistrantVerificationTest < ActiveSupport::TestCase
|
|
def test_audit_log
|
|
registrant_verification = registrant_verifications(:one)
|
|
random_action = "random#{rand(100)}"
|
|
|
|
assert_difference -> { RegistrantVerificationVersion.count } do
|
|
registrant_verification.update_attributes!(action: random_action)
|
|
end
|
|
end
|
|
end
|