File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1489,9 +1489,6 @@ def test_reverse_arel_assoc_order_with_function_coerced
1489
1489
topics = Topic . order ( Arel . sql ( "LEN(title)" ) => :asc ) . reverse_order
1490
1490
assert_equal topics ( :second ) . title , topics . first . title
1491
1491
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}
1495
1492
end
1496
1493
1497
1494
module ActiveRecord
@@ -1506,6 +1503,9 @@ def test_does_not_duplicate_optimizer_hints_on_merge_coerced
1506
1503
query = Post . optimizer_hints ( "OMGHINT" ) . merge ( Post . optimizer_hints ( "OMGHINT" ) ) . to_sql
1507
1504
assert_equal expected , query
1508
1505
end
1506
+
1507
+ # Order column must be in the GROUP clause. However, with implicit ordering we can't test this when selecting expression column.
1508
+ coerce_tests! %r{runs queries when using pick with expression column and empty IN}
1509
1509
end
1510
1510
end
1511
1511
You can’t perform that action at this time.
0 commit comments