Permalink
Browse files

no where in rails2

  • Loading branch information...
1 parent 6879688 commit af553126dd7ff4cb1d2a120744d6127d9205b799 @flyerhzm committed Jun 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/integration/rails2/counter_spec.rb
@@ -31,7 +31,7 @@
it "should not need counter cache with part of cities" do
Country.all.each do |country|
- country.cities.where(:name => 'first').size
+ country.cities.find(:all, :conditions => {:name => 'first'}).size
end
Bullet.collected_counter_cache_notifications.should be_empty
end

0 comments on commit af55312

Please sign in to comment.