summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-03-06 06:43:34 +0000
committerGo MAEDA <maeda@farend.jp>2021-03-06 06:43:34 +0000
commit8fcef23fef33031cc721f9c0052710e11f316a03 (patch)
treefe48bad2915e6264eb9bafa9840b4e3c3da5ae97 /test
parent5d251f28d0f634fd4f3134a92eb7a6aa93925d94 (diff)
downloadredmine-8fcef23fef33031cc721f9c0052710e11f316a03.tar.gz
redmine-8fcef23fef33031cc721f9c0052710e11f316a03.zip
Activity tab in cross-project menu is sometimes broken (#34032).
Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@20762 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/integration/lib/redmine/menu_manager_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/lib/redmine/menu_manager_test.rb b/test/integration/lib/redmine/menu_manager_test.rb
index 07fbcc332..318bc6129 100644
--- a/test/integration/lib/redmine/menu_manager_test.rb
+++ b/test/integration/lib/redmine/menu_manager_test.rb
@@ -126,6 +126,12 @@ class MenuManagerTest < Redmine::IntegrationTest
end
end
+ def test_cross_project_menu_should_link_to_global_activity
+ log_user('dlopper', 'foo')
+ get '/queries/3/edit'
+ assert_select 'a.activity[href=?]', '/activity'
+ end
+
def test_project_menu_should_show_roadmap_if_subprojects_have_versions
Version.delete_all
# Create a version in the project "eCookbook Subproject 1"