aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/unit/predicates
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-18 16:47:55 -0700
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-18 16:47:55 -0700
commit7feff4e7b52fbef356426d22257af161704315ad (patch)
treedb907c2bc27dc406d08513d40f8e75cd810a91f9 /spec/arel/unit/predicates
parent32ad530b825f4cdac51e579306548ca695471039 (diff)
downloadrails-7feff4e7b52fbef356426d22257af161704315ad.tar.gz
rails-7feff4e7b52fbef356426d22257af161704315ad.tar.bz2
rails-7feff4e7b52fbef356426d22257af161704315ad.zip
performance enhancements
Diffstat (limited to 'spec/arel/unit/predicates')
-rw-r--r--spec/arel/unit/predicates/binary_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/arel/unit/predicates/binary_spec.rb b/spec/arel/unit/predicates/binary_spec.rb
index 57b1f3a534..5dee4833d4 100644
--- a/spec/arel/unit/predicates/binary_spec.rb
+++ b/spec/arel/unit/predicates/binary_spec.rb
@@ -44,18 +44,6 @@ module Arel
end
end
end
-
- describe '==' do
- it "obtains if attribute1 and attribute2 are identical" do
- Binary.new(@attribute1, @attribute2).should == Binary.new(@attribute1, @attribute2)
- Binary.new(@attribute1, @attribute2).should_not == Binary.new(@attribute1, @attribute1)
- end
-
- it "obtains if the concrete type of the predicates are identical" do
- Binary.new(@attribute1, @attribute2).should == Binary.new(@attribute1, @attribute2)
- Binary.new(@attribute1, @attribute2).should_not == ConcreteBinary.new(@attribute1, @attribute2)
- end
- end
describe '#bind' do
before do