mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 05:05:45 +02:00
12 lines
354 B
Ruby
12 lines
354 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 -> { PaperTrail::Version.count } do
|
|
registrant_verification.update_attributes!(action: random_action)
|
|
end
|
|
end
|
|
end
|