diff options
Diffstat (limited to 'spec/active_relation')
-rw-r--r-- | spec/active_relation/primitives/expression_spec.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/active_relation/primitives/expression_spec.rb b/spec/active_relation/primitives/expression_spec.rb index fa854d89f9..707407d415 100644 --- a/spec/active_relation/primitives/expression_spec.rb +++ b/spec/active_relation/primitives/expression_spec.rb @@ -34,23 +34,6 @@ module ActiveRelation @expression.to_attribute.should == Attribute.new(@expression.relation, @expression.alias, nil, @expression) end end - - describe '#qualify' do - it "manufactures an expression aliased with that expression's qualified name" do - @expression.qualify.should == Expression.new(@attribute, "COUNT", @expression.qualified_name, @expression) - end - end - end - - describe '=~' do - it "obtains if the expressions are identical" do - Expression.new(@attribute, "COUNT").should =~ Expression.new(@attribute, "COUNT") - end - - it "obtains if the expressions have an overlapping history" do - Expression.new(@attribute, "COUNT", nil, Expression.new(@attribute, "COUNT")).should =~ Expression.new(@attribute, "COUNT") - Expression.new(@attribute, "COUNT").should =~ Expression.new(@attribute, "COUNT", nil, Expression.new(@attribute, "COUNT")) - end end describe '#to_sql' do |