aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/integration/joins/with_compounds_spec.rb
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/integration/joins/with_compounds_spec.rb
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/integration/joins/with_compounds_spec.rb')
-rw-r--r--spec/arel/integration/joins/with_compounds_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/arel/integration/joins/with_compounds_spec.rb b/spec/arel/integration/joins/with_compounds_spec.rb
index acfe35b25e..95fadc23d6 100644
--- a/spec/arel/integration/joins/with_compounds_spec.rb
+++ b/spec/arel/integration/joins/with_compounds_spec.rb
@@ -7,7 +7,7 @@ module Arel
@relation2 = Arel(:photos)
@predicate = @relation1[:id].eq(@relation2[:user_id])
end
-
+
describe '#to_sql' do
describe 'when the join contains a where' do
describe 'and the where is given a string' do
@@ -24,7 +24,7 @@ module Arel
end
end
end
-
+
describe 'when a compound contains a join' do
describe 'and the compound is a where' do
it 'manufactures sql disambiguating the tables' do
@@ -43,7 +43,7 @@ module Arel
")
end
end
-
+
describe 'and the compound is a group' do
it 'manufactures sql disambiguating the tables' do
@relation1 \
@@ -62,4 +62,4 @@ module Arel
end
end
end
-end \ No newline at end of file
+end