From def75c7b54ccc18f3a8daf79b6144ddcb538d4e8 Mon Sep 17 00:00:00 2001 From: Ernie Miller Date: Wed, 24 Mar 2010 16:22:15 -0400 Subject: Added NotMatch and NotIn predicates, made Not derive from Equality (reverted later) --- spec/shared/relation_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec/shared') diff --git a/spec/shared/relation_spec.rb b/spec/shared/relation_spec.rb index 5f0ae4b46e..06e8fd2027 100644 --- a/spec/shared/relation_spec.rb +++ b/spec/shared/relation_spec.rb @@ -61,12 +61,16 @@ share_examples_for 'A Relation' do end it "finds rows with a matches predicate" + + it "finds rows with a not matches predicate" it "finds rows with an in predicate" do pending set = @expected[1..(@expected.length/2+1)] @relation.all(:id.in => set.map { |r| r.id }).should have_resources(set) end + + it "finds rows with a not in predicate" end describe "#order" do -- cgit v1.2.3