aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/arel/unit/relations/grouping_spec.rb1
-rw-r--r--spec/arel/unit/relations/join_spec.rb17
2 files changed, 0 insertions, 18 deletions
diff --git a/spec/arel/unit/relations/grouping_spec.rb b/spec/arel/unit/relations/grouping_spec.rb
index 66205b8f95..5f781727cf 100644
--- a/spec/arel/unit/relations/grouping_spec.rb
+++ b/spec/arel/unit/relations/grouping_spec.rb
@@ -20,7 +20,6 @@ module Arel
describe 'when given a string' do
it "passes the string through to the where clause" do
- pending 'it should not quote the group clause'
Grouping.new(@relation, 'asdf').to_sql.should be_like("
SELECT `users`.`id`, `users`.`name`
FROM `users`
diff --git a/spec/arel/unit/relations/join_spec.rb b/spec/arel/unit/relations/join_spec.rb
index a538c8af68..d517da8c1f 100644
--- a/spec/arel/unit/relations/join_spec.rb
+++ b/spec/arel/unit/relations/join_spec.rb
@@ -203,23 +203,6 @@ module Arel
end
end
end
-
- describe 'something really really complex' do
- it '' do
- users = @relation1
- photos = @relation2
- users_2 = users.alias
- photos_2 = photos.alias
- r = users \
- .join(photos) \
- .on(photos[:user_id].eq users[:id]) \
- .join(users_2) \
- .on(users_2[:id].eq photos[:user_id]) \
- .join(photos_2) \
- .on(users_2[:id].eq photos_2[:user_id])
- r.relation_for(photos[:user_id]).should == photos
- end
- end
describe '[]' do
describe 'when given an attribute belonging to both sub-relations' do