Skip to content

Commit 7bf2075

Browse files
committed
1 parent cf1626e commit 7bf2075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/relations_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ def test_typecasting_where_with_array
880880
ids = Author.pluck(:id)
881881
slugs = ids.map { |id| "#{id}-as-a-slug" }
882882

883-
assert_equal Author.all.to_a, Author.where(id: slugs).to_a
883+
assert_equal Author.where(id: ids).to_a, Author.where(id: slugs).to_a
884884
end
885885

886886
def test_find_all_using_where_with_relation

0 commit comments

Comments
 (0)