summaryrefslogtreecommitdiffstats
path: root/test/integration/lib/redmine/menu_manager_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-01 18:17:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-01 18:17:27 +0000
commit966f238da459fda40be8db48904dad7e4266a443 (patch)
tree33932b6969f6a6a55e8f8c6461de2c837d03ca07 /test/integration/lib/redmine/menu_manager_test.rb
parentb834e81d7f41121fc6d9bef95ee090f8f466493e (diff)
downloadredmine-966f238da459fda40be8db48904dad7e4266a443.tar.gz
redmine-966f238da459fda40be8db48904dad7e4266a443.zip
Use Rails 5 syntax for integration tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16586 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/lib/redmine/menu_manager_test.rb')
-rw-r--r--test/integration/lib/redmine/menu_manager_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/lib/redmine/menu_manager_test.rb b/test/integration/lib/redmine/menu_manager_test.rb
index 26d8680e8..fb4a64e38 100644
--- a/test/integration/lib/redmine/menu_manager_test.rb
+++ b/test/integration/lib/redmine/menu_manager_test.rb
@@ -29,7 +29,8 @@ class MenuManagerTest < Redmine::IntegrationTest
:enabled_modules
def test_project_menu_with_specific_locale
- get '/projects/ecookbook/issues', { }, 'HTTP_ACCEPT_LANGUAGE' => 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3'
+ get '/projects/ecookbook/issues',
+ :headers => {'HTTP_ACCEPT_LANGUAGE' => 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3'}
assert_select 'div#main-menu' do
assert_select 'li a.activity[href=?]', '/projects/ecookbook/activity', :text => ll('fr', :label_activity)