diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-05-17 23:03:56 -0700 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-05-17 23:03:56 -0700 |
commit | 6e1450a2a646e416aaea003eff19b7703c563bed (patch) | |
tree | 5caa324b2d33d1b48d7e440bf36fc9fe8efa5405 /spec/arel/integration/joins | |
parent | 724a2684139342eb4613f78bfae723ef00911ff7 (diff) | |
download | rails-6e1450a2a646e416aaea003eff19b7703c563bed.tar.gz rails-6e1450a2a646e416aaea003eff19b7703c563bed.tar.bz2 rails-6e1450a2a646e416aaea003eff19b7703c563bed.zip |
performance enhancements
Diffstat (limited to 'spec/arel/integration/joins')
-rw-r--r-- | spec/arel/integration/joins/with_aggregations_spec.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/arel/integration/joins/with_aggregations_spec.rb b/spec/arel/integration/joins/with_aggregations_spec.rb index b9cb4acc31..655250f4f9 100644 --- a/spec/arel/integration/joins/with_aggregations_spec.rb +++ b/spec/arel/integration/joins/with_aggregations_spec.rb @@ -19,12 +19,6 @@ module Arel it '' do @relation1.join(@aggregation).on(@predicate)[@relation2[:user_id]].should_not be_nil end - - it 'it transforms aggregate expressions into attributes' do - join_with_aggregation = Join.new("INNER JOIN", @relation1, @aggregation, @predicate) - join_with_aggregation.attributes.should == - (@relation1.attributes + @aggregation.attributes).collect(&:to_attribute).collect { |a| a.bind(join_with_aggregation) } - end end describe '#to_sql' do |