diff options
Diffstat (limited to 'spec/arel/engines')
-rw-r--r-- | spec/arel/engines/sql/unit/primitives/value_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/arel/engines/sql/unit/primitives/value_spec.rb b/spec/arel/engines/sql/unit/primitives/value_spec.rb index c8f03fc270..807090e31a 100644 --- a/spec/arel/engines/sql/unit/primitives/value_spec.rb +++ b/spec/arel/engines/sql/unit/primitives/value_spec.rb @@ -9,11 +9,11 @@ module Arel describe '#to_sql' do it "appropriately quotes the value" do Value.new(1, @relation).to_sql.should be_like('1') - + adapter_is_not :postgresql do Value.new('asdf', @relation).to_sql.should be_like("'asdf'") end - + adapter_is :postgresql do Value.new('asdf', @relation).to_sql.should be_like("E'asdf'") end |