diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-06-20 06:33:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-06-20 06:33:32 +0000 |
commit | b9cbfb2846183d71e94b2f035ba8ba7bdf3ec7f7 (patch) | |
tree | f0d4f65de0745035c49b731ca9c2d42a26b20d44 /test/functional/projects_controller_test.rb | |
parent | a5c581a7cafd12c4f6d82a3d4392c360a9e1f7d4 (diff) | |
download | redmine-b9cbfb2846183d71e94b2f035ba8ba7bdf3ec7f7.tar.gz redmine-b9cbfb2846183d71e94b2f035ba8ba7bdf3ec7f7.zip |
Duplicate method definition in tests (#31093).
git-svn-id: http://svn.redmine.org/redmine/trunk@18267 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r-- | test/functional/projects_controller_test.rb | 10 |
1 files 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' |