Skip to content

Commit af3fb5c

Browse files
committed
Do not test what is now part of rails core.
1 parent 29a283d commit af3fb5c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/cases/offset_and_limit_test_sqlserver.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ class OffsetAndLimitTestSqlserver < ActiveRecord::TestCase
1616
assert_sql(/SELECT TOP \(10\)/) { Book.limit(10).all }
1717
end
1818

19-
should 'allow sql literal for limit' do
20-
assert_sql(/SELECT TOP \(3-2\)/) { Book.limit(Arel.sql('3-2')).all }
21-
assert_sql(/SELECT TOP \(SELECT 2 AS \[count\]\)/) do
22-
books = Book.all :limit => Arel.sql('SELECT 2 AS [count]')
23-
assert_equal 2, books.size
24-
end
25-
end
26-
2719
end
2820

2921
context 'When selecting with offset' do

0 commit comments

Comments
 (0)