]> source.dussan.org Git - redmine.git/commitdiff
Fixed stub.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 23 Nov 2011 20:48:20 +0000 (20:48 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 23 Nov 2011 20:48:20 +0000 (20:48 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7906 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/menu_manager/menu_helper_test.rb

index 6653f3a64523e63f9cf28de89743ddec362a8629..48f0b6505675ff1ce66973d16d2c40f1d5962759 100644 (file)
@@ -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