Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update spec to match changes

  • Loading branch information...
commit 40a721a8088fb8c75a945415d84f5de0bfce8381 1 parent 0c34e25
@binarylogic authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/named_scopes/association_conditions_spec.rb
View
2  spec/named_scopes/association_conditions_spec.rb
@@ -140,6 +140,6 @@
it "should sanitize the scope on a foreign model instead of passing the raw options back to the original" do
Company.named_scope(:users_count_10, :conditions => {:users_count => 10})
- User.company_users_count_10.proxy_options.should == {:conditions => "\"users\".\"users_count\" = 10", :joins => :company}
+ User.company_users_count_10.proxy_options.should == {:conditions => "\"companies\".\"users_count\" = 10", :joins => :company}
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.