spec/named_scopes/conditions_spec.rb in joost-searchlogic-2.1.5.3 vs spec/named_scopes/conditions_spec.rb in joost-searchlogic-2.1.7.1

- old
+ new

@@ -248,6 +248,10 @@ it "should be a float" do Order.total_gt(10) Order.named_scope_options(:total_gt).searchlogic_arg_type.should == :float end end + + it "should have priorty to columns over conflicting association conditions" do + Company.users_count_gt(10) + end end