summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-25 16:33:00 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-25 16:33:00 +0000
commit4f31027f08f55a0c6cf529cc4137b570aad46012 (patch)
tree3689aa6355ff52d0419e293e650050b825dd46bc /test/integration
parent62c8ad4df45a0ccb4ad08b1d8f38aeb609847442 (diff)
downloadredmine-4f31027f08f55a0c6cf529cc4137b570aad46012.tar.gz
redmine-4f31027f08f55a0c6cf529cc4137b570aad46012.zip
Rails 3.1 compatibility.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9007 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/lib/redmine/menu_manager_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/lib/redmine/menu_manager_test.rb b/test/integration/lib/redmine/menu_manager_test.rb
index 22e688b31..595bfa008 100644
--- a/test/integration/lib/redmine/menu_manager_test.rb
+++ b/test/integration/lib/redmine/menu_manager_test.rb
@@ -30,7 +30,7 @@ class MenuManagerTest < ActionController::IntegrationTest
:workflows
def test_project_menu_with_specific_locale
- get 'projects/ecookbook/issues', { }, 'Accept-Language' => 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3'
+ get 'projects/ecookbook/issues', { }, 'HTTP_ACCEPT_LANGUAGE' => 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3'
assert_tag :div, :attributes => { :id => 'main-menu' },
:descendant => { :tag => 'li', :child => { :tag => 'a', :content => ll('fr', :label_activity),