Skip to content

Commit adf1c21

Browse files
committed
Fix an incorrect assert_equal argument order
1 parent 94c90ec commit adf1c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/encryption/uniqueness_validations_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ class ActiveRecord::Encryption::UniquenessValidationsTest < ActiveRecord::Encryp
6060
EncryptedBookWithUniquenessValidation.create!(name: "dune")
6161
record = EncryptedBookWithUniquenessValidation.create(name: "dune")
6262

63-
assert_equal record.errors.count, 1
63+
assert_equal 1, record.errors.count
6464
end
6565
end

0 commit comments

Comments
 (0)