summaryrefslogtreecommitdiffstats
path: root/test/integration/lib
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2009-09-04 03:24:20 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2009-09-04 03:24:20 +0000
commit677d1769d6d66fdf2126c80eea2161b364f3b12d (patch)
tree731a411a6282e80910561b5ac3a8b4076fd352dc /test/integration/lib
parent609faba6a3d326fe8d2ebe3f66d2f31da3faa77f (diff)
downloadredmine-677d1769d6d66fdf2126c80eea2161b364f3b12d.tar.gz
redmine-677d1769d6d66fdf2126c80eea2161b364f3b12d.zip
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
Diffstat (limited to 'test/integration/lib')
-rw-r--r--test/integration/lib/redmine/menu_manager_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/lib/redmine/menu_manager_test.rb b/test/integration/lib/redmine/menu_manager_test.rb
index 71926ecca..0ff59cf48 100644
--- a/test/integration/lib/redmine/menu_manager_test.rb
+++ b/test/integration/lib/redmine/menu_manager_test.rb
@@ -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'