diff options
Diffstat (limited to 'test/functional/calendars_controller_test.rb')
-rw-r--r-- | test/functional/calendars_controller_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
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 |