File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
activerecord/test/cases/adapters Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ def test_doesnt_error_when_a_read_query_with_leading_chars_is_called_while_preve
453
453
@connection . execute ( "INSERT INTO ex (data) VALUES ('138853948594')" )
454
454
455
455
@connection_handler . while_preventing_writes do
456
- assert_equal 1 , @connection . execute ( "(\n ( SELECT * FROM ex WHERE data = '138853948594' ) )" ) . entries . count
456
+ assert_equal 1 , @connection . execute ( "/*action:index*/ (\n ( SELECT * FROM ex WHERE data = '138853948594' ) )" ) . entries . count
457
457
end
458
458
end
459
459
end
Original file line number Diff line number Diff line change @@ -667,7 +667,7 @@ def test_doesnt_error_when_a_read_query_with_leading_chars_is_called_while_preve
667
667
@conn . execute ( "INSERT INTO ex (data) VALUES ('138853948594')" )
668
668
669
669
@connection_handler . while_preventing_writes do
670
- assert_equal 1 , @conn . execute ( " SELECT data from ex WHERE data = '138853948594'" ) . count
670
+ assert_equal 1 , @conn . execute ( "/*action:index*/ SELECT data from ex WHERE data = '138853948594'" ) . count
671
671
end
672
672
end
673
673
end
You can’t perform that action at this time.
0 commit comments