mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 08:46:01 +01:00
Add tests for context menu in gantt (#10485).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17037 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -47,6 +47,11 @@ class GanttsControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
end
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user