Skip to content

Commit

Permalink
Update coerced_tests.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanharan committed Dec 10, 2024
1 parent 0afebac commit 9f8e994
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/cases/coerced_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1489,6 +1489,9 @@ def test_reverse_arel_assoc_order_with_function_coerced
topics = Topic.order(Arel.sql("LEN(title)") => :asc).reverse_order
assert_equal topics(:second).title, topics.first.title
end

# Order column must be in the GROUP clause. However, with implicit ordering we can't test this when selecting expression column.
coerce_tests! %r{runs queries when using pick with expression column and empty IN}
end

module ActiveRecord
Expand Down

0 comments on commit 9f8e994

Please sign in to comment.