Skip to content

Commit e49e656

Browse files
committed
Fix coerced test
1 parent fa7d6cf commit e49e656

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/cases/coerced_tests.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ def test_validate_uniqueness_by_default_database_collation_coerced
4545
assert_equal 1, Topic.where(author_email_address: "david@loudthinking.com").count
4646
assert_equal 1, Topic.where(author_email_address: "David@loudthinking.com").count
4747
end
48+
end
4849

50+
class UniquenessValidationWithIndexTest < ActiveRecord::TestCase
4951
# Need to explicitly set the WHERE clause to truthy.
5052
coerce_tests! :test_partial_index
5153
def test_partial_index_coerced

0 commit comments

Comments
 (0)