Reset the default language for the test, autotest was caught it staying at :no

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2855 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2009-09-04 03:24:20 +00:00
parent 609faba6a3
commit 677d1769d6
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class MenuManagerTest < ActionController::IntegrationTest
end end
def test_project_menu_with_additional_menu_items def test_project_menu_with_additional_menu_items
Setting.default_language = 'en'
assert_no_difference 'Redmine::MenuManager.items(:project_menu).size' do assert_no_difference 'Redmine::MenuManager.items(:project_menu).size' do
Redmine::MenuManager.map :project_menu do |menu| Redmine::MenuManager.map :project_menu do |menu|
menu.push :foo, { :controller => 'projects', :action => 'show' }, :caption => 'Foo' menu.push :foo, { :controller => 'projects', :action => 'show' }, :caption => 'Foo'