comma limits do not make sense on oracle or pg

This commit is contained in:
Aaron Patterson 2011-02-08 16:44:52 -08:00
parent c9182597ca
commit 5046120b97

@ -59,9 +59,11 @@ def test_primary_key_with_no_id
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