From 8991daa5e3077e31f90500fd52d77b69d979cc97 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Tue, 23 Mar 2010 13:48:35 -0700 Subject: Restrictions should be able to contain multiple predicates. --- spec/algebra/unit/relations/where_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/algebra') diff --git a/spec/algebra/unit/relations/where_spec.rb b/spec/algebra/unit/relations/where_spec.rb index 96b95b5823..48a8dc5038 100644 --- a/spec/algebra/unit/relations/where_spec.rb +++ b/spec/algebra/unit/relations/where_spec.rb @@ -9,6 +9,7 @@ module Arel describe '#initialize' do it "manufactures nested where relations if multiple predicates are provided" do + pending "This is not true anymore" another_predicate = @relation[:name].lt(2) Where.new(@relation, @predicate, another_predicate). \ should == Where.new(Where.new(@relation, another_predicate), @predicate) -- cgit v1.2.3