diff options
author | Go MAEDA <maeda@farend.jp> | 2018-01-30 08:03:00 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-01-30 08:03:00 +0000 |
commit | 0f4fb452e7e23b4feebe5db81888b11377af208a (patch) | |
tree | c899535385f726ab597e315e9449f9b22fb9da1b /test/functional/calendars_controller_test.rb | |
parent | c1f92c7f06ff279dfda512026bd4a5b607e99039 (diff) | |
download | redmine-0f4fb452e7e23b4feebe5db81888b11377af208a.tar.gz redmine-0f4fb452e7e23b4feebe5db81888b11377af208a.zip |
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
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 |