aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/unit/primitives
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2009-05-06 14:14:56 -0300
committerEmilio Tagua <miloops@gmail.com>2009-05-06 14:14:56 -0300
commita7dea38204f3c40e4d0c3f29ebe17af818659697 (patch)
tree3a3a912b74b15509c715ec5028b18da49bd30d44 /spec/arel/unit/primitives
parentde843c86518e4ac871d4bb5b0873bb6c184ac304 (diff)
downloadrails-a7dea38204f3c40e4d0c3f29ebe17af818659697.tar.gz
rails-a7dea38204f3c40e4d0c3f29ebe17af818659697.tar.bz2
rails-a7dea38204f3c40e4d0c3f29ebe17af818659697.zip
Don't depend engine select_value(s) method. Quoting should be performed by connection not ARel
Diffstat (limited to 'spec/arel/unit/primitives')
-rw-r--r--spec/arel/unit/primitives/value_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/arel/unit/primitives/value_spec.rb b/spec/arel/unit/primitives/value_spec.rb
index 87425c780d..ba9a80bb49 100644
--- a/spec/arel/unit/primitives/value_spec.rb
+++ b/spec/arel/unit/primitives/value_spec.rb
@@ -5,7 +5,7 @@ module Arel
before do
@relation = Table.new(:users)
end
-
+
describe '#to_sql' do
it "appropriately quotes the value" do
Value.new(1, @relation).to_sql.should be_like('1')
@@ -25,4 +25,4 @@ module Arel
end
end
end
-end \ No newline at end of file
+end