From 0f4fb452e7e23b4feebe5db81888b11377af208a Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Tue, 30 Jan 2018 08:03:00 +0000 Subject: Add right-click context menu in calendar (#28067). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17186 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/calendars_controller_test.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/functional/calendars_controller_test.rb') diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb index 8a45bb364..9f9b2a2ef 100644 --- a/test/functional/calendars_controller_test.rb +++ b/test/functional/calendars_controller_test.rb @@ -48,6 +48,12 @@ class CalendarsControllerTest < Redmine::ControllerTest assert_select 'p.buttons' end end + + # Assert context menu on issues + assert_select 'form[data-cm-url=?]', '/issues/context_menu' + assert_select 'div.issue.hascontextmenu' do + assert_select 'input[name=?][type=?]', 'ids[]', 'checkbox' + end end def test_show_should_run_custom_queries -- cgit v1.2.3