aboutsummaryrefslogtreecommitdiffstats
path: root/spec/predicates
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-01-05 15:32:22 -0800
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-01-05 15:32:22 -0800
commitd1e5265a1db424e7361878772d32ae4ec39babe2 (patch)
tree89e3313c6207114dd706270d6b5b0c90f7fbf294 /spec/predicates
parentd7b89d957dbceb4eeceb0b1d381474a4de70a14d (diff)
downloadrails-d1e5265a1db424e7361878772d32ae4ec39babe2.tar.gz
rails-d1e5265a1db424e7361878772d32ae4ec39babe2.tar.bz2
rails-d1e5265a1db424e7361878772d32ae4ec39babe2.zip
join relation qualification
Diffstat (limited to 'spec/predicates')
-rw-r--r--spec/predicates/binary_predicate_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/predicates/binary_predicate_spec.rb b/spec/predicates/binary_predicate_spec.rb
index 25cffde2c5..ede44e5175 100644
--- a/spec/predicates/binary_predicate_spec.rb
+++ b/spec/predicates/binary_predicate_spec.rb
@@ -32,7 +32,7 @@ describe BinaryPredicate do
end
describe '#qualify' do
- it "manufactures an equality predicate with qualified attributes" do
+ it "distributes over the predicates and attributes" do
ConcreteBinaryPredicate.new(@attribute1, @attribute2).qualify. \
should == ConcreteBinaryPredicate.new(@attribute1.qualify, @attribute2.qualify)
end