##// END OF EJS Templates
Reset the default language for the test, autotest was caught it staying at :no...
Eric Davis -
r2750:677d1769d6d6
parent child
Show More
@@ -36,6 +36,7 class MenuManagerTest < ActionController::IntegrationTest
36 end
36 end
37
37
38 def test_project_menu_with_additional_menu_items
38 def test_project_menu_with_additional_menu_items
39 Setting.default_language = 'en'
39 assert_no_difference 'Redmine::MenuManager.items(:project_menu).size' do
40 assert_no_difference 'Redmine::MenuManager.items(:project_menu).size' do
40 Redmine::MenuManager.map :project_menu do |menu|
41 Redmine::MenuManager.map :project_menu do |menu|
41 menu.push :foo, { :controller => 'projects', :action => 'show' }, :caption => 'Foo'
42 menu.push :foo, { :controller => 'projects', :action => 'show' }, :caption => 'Foo'
General Comments 0
You need to be logged in to leave comments. Login now