diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-05-06 14:14:56 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2009-05-06 14:14:56 -0300 |
commit | a7dea38204f3c40e4d0c3f29ebe17af818659697 (patch) | |
tree | 3a3a912b74b15509c715ec5028b18da49bd30d44 /spec/arel/unit/primitives | |
parent | de843c86518e4ac871d4bb5b0873bb6c184ac304 (diff) | |
download | rails-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.rb | 4 |
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 |