diff --git a/test/unit/lib/redmine/menu_manager/menu_helper_test.rb b/test/unit/lib/redmine/menu_manager/menu_helper_test.rb index 6653f3a64..48f0b6505 100644 --- a/test/unit/lib/redmine/menu_manager/menu_helper_test.rb +++ b/test/unit/lib/redmine/menu_manager/menu_helper_test.rb @@ -31,7 +31,7 @@ class Redmine::MenuManager::MenuHelperTest < HelperTestCase super @response = ActionController::TestResponse.new # Stub the current menu item in the controller - def @controller.current_menu_item + def current_menu_item :index end end