spec/named_scopes/conditions_spec.rb in binarylogic-searchlogic-2.1.5 vs spec/named_scopes/conditions_spec.rb in binarylogic-searchlogic-2.1.6

- 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