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
This commit is contained in:
Go MAEDA
2018-01-30 08:03:00 +00:00
parent c1f92c7f06
commit 0f4fb452e7
3 changed files with 16 additions and 1 deletions

View File

@@ -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