From b9cbfb2846183d71e94b2f035ba8ba7bdf3ec7f7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 20 Jun 2019 06:33:32 +0000 Subject: [PATCH] Duplicate method definition in tests (#31093). git-svn-id: http://svn.redmine.org/redmine/trunk@18267 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/projects_controller_test.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index a3733654a..389ad6c8a 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -1021,21 +1021,21 @@ class ProjectsControllerTest < Redmine::ControllerTest refute jb.bookmark?(Project.find('ecookbook')) end - def test_jump_without_project_id_should_redirect_to_active_tab + def test_index_jump_without_project_id_should_redirect_to_active_tab get :index, :params => { :jump => 'issues' } assert_redirected_to '/issues' end - def test_jump_should_not_redirect_to_unknown_tab + def test_index_jump_should_not_redirect_to_unknown_tab get :index, :params => { :jump => 'foobar' } assert_response :success end - def test_jump_should_redirect_to_active_tab + def test_show_jump_should_redirect_to_active_tab get :show, :params => { :id => 1, :jump => 'issues' @@ -1043,7 +1043,7 @@ class ProjectsControllerTest < Redmine::ControllerTest assert_redirected_to '/projects/ecookbook/issues' end - def test_jump_should_not_redirect_to_inactive_tab + def test_show_jump_should_not_redirect_to_inactive_tab get :show, :params => { :id => 3, :jump => 'documents' @@ -1051,7 +1051,7 @@ class ProjectsControllerTest < Redmine::ControllerTest assert_response :success end - def test_jump_should_not_redirect_to_unknown_tab + def test_show_jump_should_not_redirect_to_unknown_tab get :show, :params => { :id => 3, :jump => 'foobar'