diff options
-rw-r--r-- | lib/arel/algebra/attributes/attribute.rb | 4 | ||||
-rw-r--r-- | spec/algebra/unit/primitives/attribute_spec.rb | 6 | ||||
-rw-r--r-- | spec/algebra/unit/primitives/expression_spec.rb | 6 |
3 files changed, 0 insertions, 16 deletions
diff --git a/lib/arel/algebra/attributes/attribute.rb b/lib/arel/algebra/attributes/attribute.rb index faa6c068d5..f1085aaae0 100644 --- a/lib/arel/algebra/attributes/attribute.rb +++ b/lib/arel/algebra/attributes/attribute.rb @@ -19,10 +19,6 @@ module Arel false end - def inspect - "<Attribute #{name}>" - end - module Transformations def self.included(klass) klass.send :alias_method, :eql?, :== 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) |