diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-01-05 15:32:22 -0800 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-01-05 15:32:22 -0800 |
commit | d1e5265a1db424e7361878772d32ae4ec39babe2 (patch) | |
tree | 89e3313c6207114dd706270d6b5b0c90f7fbf294 /spec/relations/selection_relation_spec.rb | |
parent | d7b89d957dbceb4eeceb0b1d381474a4de70a14d (diff) | |
download | rails-d1e5265a1db424e7361878772d32ae4ec39babe2.tar.gz rails-d1e5265a1db424e7361878772d32ae4ec39babe2.tar.bz2 rails-d1e5265a1db424e7361878772d32ae4ec39babe2.zip |
join relation qualification
Diffstat (limited to 'spec/relations/selection_relation_spec.rb')
-rw-r--r-- | spec/relations/selection_relation_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/relations/selection_relation_spec.rb b/spec/relations/selection_relation_spec.rb index 395a3f7693..7ffb3b3676 100644 --- a/spec/relations/selection_relation_spec.rb +++ b/spec/relations/selection_relation_spec.rb @@ -27,7 +27,7 @@ describe SelectionRelation do end describe '#qualify' do - it "manufactures a selection relation with qualified predicates and qualified relation" do + it "distributes over the relation and predicates" do SelectionRelation.new(@relation1, @predicate1).qualify. \ should == SelectionRelation.new(@relation1.qualify, @predicate1.qualify) end |