Skip to content

Commit

Permalink
Fix an incorrect assert_equal argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Sep 25, 2023
1 parent 94c90ec commit adf1c21
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -60,6 +60,6 @@ class ActiveRecord::Encryption::UniquenessValidationsTest < ActiveRecord::Encryp
EncryptedBookWithUniquenessValidation.create!(name: "dune")
record = EncryptedBookWithUniquenessValidation.create(name: "dune")

assert_equal record.errors.count, 1
assert_equal 1, record.errors.count
end
end

0 comments on commit adf1c21

Please sign in to comment.