diff options
-rw-r--r-- | activerecord/test/cases/calculations_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/cases/calculations_test.rb b/activerecord/test/cases/calculations_test.rb index 991b1ab181..caf07a7357 100644 --- a/activerecord/test/cases/calculations_test.rb +++ b/activerecord/test/cases/calculations_test.rb @@ -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) |