diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-05-04 18:28:28 -0700 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-05-04 18:28:28 -0700 |
commit | ce147912eedee3eee1b93dc89f5de3a01e9ac2f1 (patch) | |
tree | 77cb79477a78da85264609dc2ae53b05aa791c17 /spec/arel/unit/relations/projection_spec.rb | |
parent | 92c2fd2a2fe029ffe2597134496bdab7f1ed4de6 (diff) | |
download | rails-ce147912eedee3eee1b93dc89f5de3a01e9ac2f1.tar.gz rails-ce147912eedee3eee1b93dc89f5de3a01e9ac2f1.tar.bz2 rails-ce147912eedee3eee1b93dc89f5de3a01e9ac2f1.zip |
reorganization
Diffstat (limited to 'spec/arel/unit/relations/projection_spec.rb')
-rw-r--r-- | spec/arel/unit/relations/projection_spec.rb | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/spec/arel/unit/relations/projection_spec.rb b/spec/arel/unit/relations/projection_spec.rb index eedcf77952..0008858e08 100644 --- a/spec/arel/unit/relations/projection_spec.rb +++ b/spec/arel/unit/relations/projection_spec.rb @@ -70,21 +70,18 @@ module Arel end end - describe Projection::Externalizable do - describe '#aggregation?' do - describe 'when the projections are attributes' do - it 'returns false' do - Projection.new(@relation, @attribute).should_not be_aggregation - end + describe '#aggregation?' do + describe 'when the projections are attributes' do + it 'returns false' do + Projection.new(@relation, @attribute).should_not be_aggregation end - - describe 'when the projections include an aggregation' do - it "obtains" do - Projection.new(@relation, @attribute.sum).should be_aggregation - end + end + + describe 'when the projections include an aggregation' do + it "obtains" do + Projection.new(@relation, @attribute.sum).should be_aggregation end end - end end end
\ No newline at end of file |