From 6e1450a2a646e416aaea003eff19b7703c563bed Mon Sep 17 00:00:00 2001 From: Nick Kallen Date: Sat, 17 May 2008 23:03:56 -0700 Subject: performance enhancements --- spec/arel/integration/joins/with_aggregations_spec.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'spec/arel/integration/joins') 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 -- cgit v1.2.3