diff options
Diffstat (limited to 'spec/arel/engines/sql/unit/relations/project_spec.rb')
-rw-r--r-- | spec/arel/engines/sql/unit/relations/project_spec.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/spec/arel/engines/sql/unit/relations/project_spec.rb b/spec/arel/engines/sql/unit/relations/project_spec.rb index 9d6b9fab06..5e29124cfa 100644 --- a/spec/arel/engines/sql/unit/relations/project_spec.rb +++ b/spec/arel/engines/sql/unit/relations/project_spec.rb @@ -7,16 +7,6 @@ module Arel @attribute = @relation[:id] end - describe '#attributes' do - before do - @projection = Project.new(@relation, @attribute) - end - - it "manufactures attributes associated with the projection relation" do - @projection.attributes.should == [@attribute].collect { |a| a.bind(@projection) } - end - end - describe '#to_sql' do describe 'when given an attribute' do it "manufactures sql with a limited select clause" do @@ -116,19 +106,5 @@ module Arel end end end - - describe '#externalizable?' do - describe 'when the projections are attributes' do - it 'returns false' do - 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_externalizable - end - end - end end end |