diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-20 14:33:49 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-20 14:33:49 -0700 |
commit | 36c8cb43ffc2d1bc217cadf4341aa4b0ea6df992 (patch) | |
tree | c3fff60298a9dc7985594db77f9b1b9c5e35a7f7 /spec/algebra | |
parent | d6edefb5a7c1ad56c464ce5ca273a2db736e7b6e (diff) | |
download | rails-36c8cb43ffc2d1bc217cadf4341aa4b0ea6df992.tar.gz rails-36c8cb43ffc2d1bc217cadf4341aa4b0ea6df992.tar.bz2 rails-36c8cb43ffc2d1bc217cadf4341aa4b0ea6df992.zip |
a short inspect is not helpful
Diffstat (limited to 'spec/algebra')
-rw-r--r-- | spec/algebra/unit/primitives/attribute_spec.rb | 6 | ||||
-rw-r--r-- | spec/algebra/unit/primitives/expression_spec.rb | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/spec/algebra/unit/primitives/attribute_spec.rb b/spec/algebra/unit/primitives/attribute_spec.rb index f734cc9c38..092eeeb2f8 100644 --- a/spec/algebra/unit/primitives/attribute_spec.rb +++ b/spec/algebra/unit/primitives/attribute_spec.rb @@ -7,12 +7,6 @@ module Arel @attribute = @relation[:id] end - describe "#inspect" do - it "returns a simple, short inspect string" do - @attribute.inspect.should == "<Attribute id>" - end - end - describe Attribute::Transformations do describe '#as' do it "manufactures an aliased attributed" do diff --git a/spec/algebra/unit/primitives/expression_spec.rb b/spec/algebra/unit/primitives/expression_spec.rb index ac932ed139..483817f735 100644 --- a/spec/algebra/unit/primitives/expression_spec.rb +++ b/spec/algebra/unit/primitives/expression_spec.rb @@ -7,12 +7,6 @@ module Arel @attribute = @relation[:id] end - describe "#inspect" do - it "returns a simple, short inspect string" do - @attribute.count.inspect.should == "<Arel::Count <Attribute id>>" - end - end - describe Expression::Transformations do before do @expression = Count.new(@attribute) |