internetee-registry/test/models/registrant_verification_test.rb
2019-12-27 18:39:06 +05:00

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