diff options
author | Carl Lerche <carllerche@mac.com> | 2010-03-23 13:48:35 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-03-23 13:48:35 -0700 |
commit | 8991daa5e3077e31f90500fd52d77b69d979cc97 (patch) | |
tree | 80a2e67be833e6c75ac5554942f5ec9d7d71da55 /spec/algebra | |
parent | 09765829d38e78c0d260aac805c9f405a1523d56 (diff) | |
download | rails-8991daa5e3077e31f90500fd52d77b69d979cc97.tar.gz rails-8991daa5e3077e31f90500fd52d77b69d979cc97.tar.bz2 rails-8991daa5e3077e31f90500fd52d77b69d979cc97.zip |
Restrictions should be able to contain multiple predicates.
Diffstat (limited to 'spec/algebra')
-rw-r--r-- | spec/algebra/unit/relations/where_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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) |