Commit 9a4f9ddf authored by maeda's avatar maeda

Add tests for context menu in gantt (#10485).

Patch by Marius BALTEANU.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 362dc5bc
......@@ -47,6 +47,11 @@ class GanttsControllerTest < Redmine::ControllerTest
# Assert context menu on issues subject and gantt bar
assert_select 'div[class=?]', 'issue-subject hascontextmenu'
assert_select 'div[class=?]', 'tooltip hascontextmenu'
assert_select "form[data-cm-url=?]", '/issues/context_menu'
# Issue with start and due dates
i = Issue.find(1)
assert_not_nil i.due_date
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment