Rails 3.1 compatibility.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9007 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
62c8ad4df4
commit
4f31027f08
|
@ -30,7 +30,7 @@ class MenuManagerTest < ActionController::IntegrationTest
|
||||||
:workflows
|
:workflows
|
||||||
|
|
||||||
def test_project_menu_with_specific_locale
|
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' },
|
assert_tag :div, :attributes => { :id => 'main-menu' },
|
||||||
:descendant => { :tag => 'li', :child => { :tag => 'a', :content => ll('fr', :label_activity),
|
:descendant => { :tag => 'li', :child => { :tag => 'a', :content => ll('fr', :label_activity),
|
||||||
|
|
Loading…
Reference in New Issue