diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-28 09:15:19 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-28 09:15:19 -0800 |
commit | a8dae084c9c1250d7d4a5a70800114b57fbceff6 (patch) | |
tree | fa8b06ff363510fc4177b3698e2fcf750030925c | |
parent | f42562f97bb791a7662fce0106a93eec211b2803 (diff) | |
download | rails-a8dae084c9c1250d7d4a5a70800114b57fbceff6.tar.gz rails-a8dae084c9c1250d7d4a5a70800114b57fbceff6.tar.bz2 rails-a8dae084c9c1250d7d4a5a70800114b57fbceff6.zip |
skip this on oracle
-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) |