diff options
Diffstat (limited to 'spec/arel/unit')
-rw-r--r-- | spec/arel/unit/relations/project_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/arel/unit/relations/project_spec.rb b/spec/arel/unit/relations/project_spec.rb index 2a4b690dd8..93cbe5668a 100644 --- a/spec/arel/unit/relations/project_spec.rb +++ b/spec/arel/unit/relations/project_spec.rb @@ -57,16 +57,16 @@ module Arel end end - describe '#aggregation?' do + describe '#externalizable?' do describe 'when the projections are attributes' do it 'returns false' do - Project.new(@relation, @attribute).should_not be_aggregation + Project.new(@relation, @attribute).should_not be_externalizable end end describe 'when the projections include an aggregation' do it "obtains" do - Project.new(@relation, @attribute.sum).should be_aggregation + Project.new(@relation, @attribute.sum).should be_externalizable end end end |