Rename instance method update_counter_cache => update_impressionist_counter_cache
This commit is contained in:
1 parent
380f49cf62
commit
4c2c09ca69
3 files changed
+3
-3
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user