aboutsummaryrefslogtreecommitdiffstats
path: root/spec/active_relation/unit/predicates/binary_spec.rb
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-04-12 16:43:48 -0700
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-04-12 16:43:48 -0700
commit1b8f72746b38ce1e08b5fab48f3251eb09f2cba0 (patch)
tree3782ef3e88474bb6d79ba3e25b08b235fca78040 /spec/active_relation/unit/predicates/binary_spec.rb
parent6de1f350ce117129e46353f12f90a138ca3d3ead (diff)
downloadrails-1b8f72746b38ce1e08b5fab48f3251eb09f2cba0.tar.gz
rails-1b8f72746b38ce1e08b5fab48f3251eb09f2cba0.tar.bz2
rails-1b8f72746b38ce1e08b5fab48f3251eb09f2cba0.zip
- removed #qualify and #descend helper
- qualify seems no longer neccessary since everything is fully qualified - finished pending specs
Diffstat (limited to 'spec/active_relation/unit/predicates/binary_spec.rb')
-rw-r--r--spec/active_relation/unit/predicates/binary_spec.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/active_relation/unit/predicates/binary_spec.rb b/spec/active_relation/unit/predicates/binary_spec.rb
index 5dd5e5599a..56c568b078 100644
--- a/spec/active_relation/unit/predicates/binary_spec.rb
+++ b/spec/active_relation/unit/predicates/binary_spec.rb
@@ -57,20 +57,6 @@ module ActiveRelation
end
end
- describe '#qualify' do
- it "descends" do
- ConcreteBinary.new(@attribute1, @attribute2).qualify \
- .should == ConcreteBinary.new(@attribute1, @attribute2).descend(&:qualify)
- end
- end
-
- describe '#descend' do
- it "distributes a block over the predicates and attributes" do
- ConcreteBinary.new(@attribute1, @attribute2).descend(&:qualify). \
- should == ConcreteBinary.new(@attribute1.qualify, @attribute2.qualify)
- end
- end
-
describe '#bind' do
before do
@another_relation = Table.new(:photos)