Rename instance method update_counter_cache => update_impressionist_counter_cache

This commit is contained in:
Ross Kaffenberger committed 2012-03-19 14:33:19 -04:00
1 parent 380f49cf62
commit 4c2c09ca69
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ describe Impression do
end
end
describe "#update_counter_cache" do
describe "#update_impressionist_counter_cache" do
it "should update the counter cache column to reflect the correct number of impressions" do
lambda {
Impression.create(:impressionable_type => @widget.class.name, :impressionable_id => @widget.id)