1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

skip this on oracle

This commit is contained in:
Aaron Patterson 2011-02-28 09:15:19 -08:00
parent f42562f97b
commit a8dae084c9

View file

@ -110,6 +110,8 @@ class CalculationsTest < ActiveRecord::TestCase
end
def test_limit_with_offset_is_kept
return if current_adapter?(:OracleAdapter)
queries = assert_sql { Account.limit(1).offset(1).count }
assert_equal 1, queries.length
assert_match(/LIMIT/, queries.first)