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:
parent
f42562f97b
commit
a8dae084c9
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ class CalculationsTest < ActiveRecord::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_limit_with_offset_is_kept
|
def test_limit_with_offset_is_kept
|
||||||
|
return if current_adapter?(:OracleAdapter)
|
||||||
|
|
||||||
queries = assert_sql { Account.limit(1).offset(1).count }
|
queries = assert_sql { Account.limit(1).offset(1).count }
|
||||||
assert_equal 1, queries.length
|
assert_equal 1, queries.length
|
||||||
assert_match(/LIMIT/, queries.first)
|
assert_match(/LIMIT/, queries.first)
|
||||||
|
|
Loading…
Reference in a new issue