mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
parent
ee30c8d4ef
commit
7f308d4123
5 changed files with 73 additions and 0 deletions
12
test/models/registrant_verification_test.rb
Normal file
12
test/models/registrant_verification_test.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue