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
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} 
14951492end 
14961493
14971494module  ActiveRecord 
@@ -1506,6 +1503,9 @@ def test_does_not_duplicate_optimizer_hints_on_merge_coerced
15061503      query  =  Post . optimizer_hints ( "OMGHINT" ) . merge ( Post . optimizer_hints ( "OMGHINT" ) ) . to_sql 
15071504      assert_equal  expected ,  query 
15081505    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} 
15091509  end 
15101510end 
15111511
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments