From 7296b569a3de2143d634f731b2ce1f18fbf08b0a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 21 Dec 2014 15:05:18 +0000 Subject: Leading slash required with Rails 4.2. git-svn-id: http://svn.redmine.org/redmine/trunk@13783 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/lib/redmine/menu_manager_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/integration/lib') diff --git a/test/integration/lib/redmine/menu_manager_test.rb b/test/integration/lib/redmine/menu_manager_test.rb index 531af524a..39b4ba9eb 100644 --- a/test/integration/lib/redmine/menu_manager_test.rb +++ b/test/integration/lib/redmine/menu_manager_test.rb @@ -29,7 +29,7 @@ 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', { }, '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) @@ -46,7 +46,7 @@ class MenuManagerTest < Redmine::IntegrationTest menu.push :hello, { :controller => 'projects', :action => 'show' }, :caption => Proc.new {|p| p.name.upcase }, :after => :bar end - get 'projects/ecookbook' + get '/projects/ecookbook' assert_select 'div#main-menu ul' do assert_select 'li:last-child a.foo[href=?]', '/projects/ecookbook', :text => 'Foo' -- cgit v1.2.3