spec/named_scopes/conditions_spec.rb in binarylogic-searchlogic-2.1.13 vs spec/named_scopes/conditions_spec.rb in binarylogic-searchlogic-2.2.0
- old
+ new
@@ -201,12 +201,9 @@
it "should have not_equal_to" do
User.age_not_equal_to(5).proxy_options.should == User.age_does_not_equal(5).proxy_options
end
it "should have is_not" do
- # This is matching "not" first. How do you give priority in a regex? Because it's matching the
- # 'not' condition and thinking the column is 'age_is'.
- pending
User.age_is_not(5).proxy_options.should == User.age_does_not_equal(5).proxy_options
end
it "should have not" do
User.age_not(5).proxy_options.should == User.age_does_not_equal(5).proxy_options