Permalink
Browse files

update spec to match changes

  • Loading branch information...
1 parent 0c34e25 commit 40a721a8088fb8c75a945415d84f5de0bfce8381 @binarylogic committed Jan 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 40a721a

Please sign in to comment.