Skip to content

Commit

Permalink
Address intermittent CI failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kamipo committed Oct 29, 2021
1 parent cf1626e commit 7bf2075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/relations_test.rb
Expand Up @@ -880,7 +880,7 @@ def test_typecasting_where_with_array
ids = Author.pluck(:id)
slugs = ids.map { |id| "#{id}-as-a-slug" }

assert_equal Author.all.to_a, Author.where(id: slugs).to_a
assert_equal Author.where(id: ids).to_a, Author.where(id: slugs).to_a
end

def test_find_all_using_where_with_relation
Expand Down

0 comments on commit 7bf2075

Please sign in to comment.