diff options
Diffstat (limited to 'activerecord/test/cases/base_test.rb')
-rw-r--r-- | activerecord/test/cases/base_test.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index 20a16cc8ac..2cbff6a5e1 100644 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -59,9 +59,11 @@ class BasicsTest < ActiveRecord::TestCase assert_nil Edge.primary_key end - def test_limit_with_comma - assert_nothing_raised do - Topic.limit("1,2").all + unless current_adapter?(:PostgreSQLAdapter) || current_adapter?(:OracleAdapter) + def test_limit_with_comma + assert_nothing_raised do + Topic.limit("1,2").all + end end end |