Commit abde28a787d1f3442a2f2e1a8d5876a37fb1ef25
1 parent
8ecc71b2
Exists in
master
and in
29 other branches
Fix categories_menu test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/integration/categories_menu_test.rb
... | ... | @@ -33,7 +33,7 @@ class CategoriesMenuTest < ActionController::IntegrationTest |
33 | 33 | |
34 | 34 | should 'cache the categories menu' do |
35 | 35 | ActionController::Base.perform_caching = true |
36 | - HomeController.any_instance.expects(:fragment_cache_key).with(Environment.default.id.to_s + "_categories_menu").returns('dir') | |
36 | + HomeController.any_instance.stubs(:fragment_cache_key).with(Environment.default.id.to_s + "_categories_menu").returns('dir') | |
37 | 37 | get '/' |
38 | 38 | ActionController::Base.perform_caching = false |
39 | 39 | end | ... | ... |