spec/named_scopes/ordering_spec.rb in binarylogic-searchlogic-2.1.5 vs spec/named_scopes/ordering_spec.rb in binarylogic-searchlogic-2.1.6
- old
+ new
@@ -18,6 +18,10 @@
end
it "should have order" do
User.order("ascend_by_username").proxy_options.should == User.ascend_by_username.proxy_options
end
+
+ it "should have priorty to columns over conflicting association columns" do
+ Company.ascend_by_users_count
+ end
end