aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/engines/sql/unit/primitives/attribute_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/arel/engines/sql/unit/primitives/attribute_spec.rb')
-rw-r--r--spec/arel/engines/sql/unit/primitives/attribute_spec.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/arel/engines/sql/unit/primitives/attribute_spec.rb b/spec/arel/engines/sql/unit/primitives/attribute_spec.rb
index d24b6a9d13..9f864dd3a1 100644
--- a/spec/arel/engines/sql/unit/primitives/attribute_spec.rb
+++ b/spec/arel/engines/sql/unit/primitives/attribute_spec.rb
@@ -22,7 +22,11 @@ module Arel
sql.should be_like(%Q{`users`.`id`})
end
- adapter_is_not :mysql do
+ adapter_is :oracle do
+ sql.should be_like(%Q{"USERS"."ID"})
+ end
+
+ adapter_is_not :mysql, :oracle do
sql.should be_like(%Q{"users"."id"})
end
end