Skip to content

Commit 9f8e994

Browse files
committed
Update coerced_tests.rb
1 parent 0afebac commit 9f8e994

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/cases/coerced_tests.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1489,6 +1489,9 @@ def test_reverse_arel_assoc_order_with_function_coerced
14891489
topics = Topic.order(Arel.sql("LEN(title)") => :asc).reverse_order
14901490
assert_equal topics(:second).title, topics.first.title
14911491
end
1492+
1493+
# Order column must be in the GROUP clause. However, with implicit ordering we can't test this when selecting expression column.
1494+
coerce_tests! %r{runs queries when using pick with expression column and empty IN}
14921495
end
14931496

14941497
module ActiveRecord

0 commit comments

Comments
 (0)