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:
parent
609faba6a3
commit
677d1769d6
|
@ -36,6 +36,7 @@ class MenuManagerTest < ActionController::IntegrationTest
|
|||
end
|
||||
|
||||
def test_project_menu_with_additional_menu_items
|
||||
Setting.default_language = 'en'
|
||||
assert_no_difference 'Redmine::MenuManager.items(:project_menu).size' do
|
||||
Redmine::MenuManager.map :project_menu do |menu|
|
||||
menu.push :foo, { :controller => 'projects', :action => 'show' }, :caption => 'Foo'
|
||||
|
|
Loading…
Reference in New Issue