From a7dea38204f3c40e4d0c3f29ebe17af818659697 Mon Sep 17 00:00:00 2001 From: Emilio Tagua Date: Wed, 6 May 2009 14:14:56 -0300 Subject: Don't depend engine select_value(s) method. Quoting should be performed by connection not ARel --- spec/arel/integration/joins/with_compounds_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'spec/arel/integration/joins/with_compounds_spec.rb') 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 -- cgit v1.2.3