diff options
author | Go MAEDA <maeda@farend.jp> | 2021-04-13 07:20:47 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-04-13 07:20:47 +0000 |
commit | 53b34f63c7c7b683dd060d299b9721eb2e2a7a90 (patch) | |
tree | f4241010ddbf89fdaba47d985367b74ee13e270d /test/helpers | |
parent | 6973a41b89863a03e9198d31f6256f4fe81e8bae (diff) | |
download | redmine-53b34f63c7c7b683dd060d299b9721eb2e2a7a90.tar.gz redmine-53b34f63c7c7b683dd060d299b9721eb2e2a7a90.zip |
"Copy link" feature for issues list (#34932).
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@20939 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/helpers')
-rw-r--r-- | test/helpers/routes_helper_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/helpers/routes_helper_test.rb b/test/helpers/routes_helper_test.rb index 653c8f2e3..9f1ac7280 100644 --- a/test/helpers/routes_helper_test.rb +++ b/test/helpers/routes_helper_test.rb @@ -40,4 +40,11 @@ class RoutesHelperTest < Redmine::HelperTest assert_equal '/issues/1/time_entries/new', _new_time_entry_path(nil, Issue.find(1)) assert_equal '/time_entries/new', _new_time_entry_path(nil, nil) end + + def test_project_issues_url + assert_equal 'http://test.host/projects/ecookbook/issues', _project_issues_url(Project.find(1)) + assert_equal 'http://test.host/issues', _project_issues_url(nil) + assert_equal 'http://test.host/projects/ecookbook/issues?set_filter=1', _project_issues_url(Project.find(1), set_filter: 1) + assert_equal 'http://test.host/issues?set_filter=1', _project_issues_url(nil, set_filter: 1) + end end |