From: Jean-Philippe Lang Date: Sat, 25 Feb 2012 16:33:00 +0000 (+0000) Subject: Rails 3.1 compatibility. X-Git-Tag: 1.4.0~307 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4f31027f08f55a0c6cf529cc4137b570aad46012;p=redmine.git Rails 3.1 compatibility. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9007 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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),