diff --git a/test/cases/coerced_tests.rb b/test/cases/coerced_tests.rb index 14949ead2..a803ef59c 100644 --- a/test/cases/coerced_tests.rb +++ b/test/cases/coerced_tests.rb @@ -2495,7 +2495,7 @@ def test_insert_with_type_casting_and_serialize_is_consistent_coerced original_test_insert_with_type_casting_and_serialize_is_consistent ensure - Book.where(author_id: nil, name: 'Array').delete_all + Book.where(author_id: nil, name: ["Array"]).delete_all Book.lease_connection.add_index(:books, [:author_id, :name], unique: true) end