aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/unit
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-15 19:44:06 -0700
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-15 19:44:06 -0700
commite4ee2a35c8dc62efed965bf0023a517c65f1c9e7 (patch)
treef32170a1e0e6b86600cc981844e632efbb38beed /spec/arel/unit
parentfdffe2160a4b855d7d9e611c6326f4a509c7cb07 (diff)
downloadrails-e4ee2a35c8dc62efed965bf0023a517c65f1c9e7.tar.gz
rails-e4ee2a35c8dc62efed965bf0023a517c65f1c9e7.tar.bz2
rails-e4ee2a35c8dc62efed965bf0023a517c65f1c9e7.zip
worser
Diffstat (limited to 'spec/arel/unit')
-rw-r--r--spec/arel/unit/relations/join_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/arel/unit/relations/join_spec.rb b/spec/arel/unit/relations/join_spec.rb
index 46215b158b..b3cd28ac25 100644
--- a/spec/arel/unit/relations/join_spec.rb
+++ b/spec/arel/unit/relations/join_spec.rb
@@ -69,6 +69,10 @@ module Arel
it '' do
p @relation1.select(@relation1[:id].eq(1)).join(@relation2).on(@predicate).select(@relation1[:id].eq(1)).to_sql
end
+
+ it '' do
+ p @relation1.join(@relation2).on(@predicate).group(@relation1[:id]).to_sql
+ end
end
end