]> source.dussan.org Git - redmine.git/commitdiff
Rails 3.1 compatibility.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Feb 2012 16:33:00 +0000 (16:33 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Feb 2012 16:33:00 +0000 (16:33 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9007 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/lib/redmine/menu_manager_test.rb

index 22e688b31cca0f77f7a944f3189b1c8a48b16acf..595bfa008eb06173ff449ff088b80e13b82bd861 100644 (file)
@@ -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),