summaryrefslogtreecommitdiffstats
path: root/test/integration/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-21 15:05:18 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-21 15:05:18 +0000
commit7296b569a3de2143d634f731b2ce1f18fbf08b0a (patch)
tree9434ae922a2ed983635817ebdc0841bec79b9664 /test/integration/lib
parent7ac90722707d460934cba31452c138b614cfa400 (diff)
downloadredmine-7296b569a3de2143d634f731b2ce1f18fbf08b0a.tar.gz
redmine-7296b569a3de2143d634f731b2ce1f18fbf08b0a.zip
Leading slash required with Rails 4.2.
git-svn-id: http://svn.redmine.org/redmine/trunk@13783 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/lib')
-rw-r--r--test/integration/lib/redmine/menu_manager_test.rb4
1 files changed, 2 insertions, 2 deletions
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'