Add assignee's icon to tooltips in gantt and calendar (#29306).

Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17493 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2018-09-18 23:44:42 +00:00
parent dc8079fa22
commit 4a5a68f19c
3 changed files with 16 additions and 9 deletions

View File

@@ -33,9 +33,11 @@ class CalendarsControllerTest < Redmine::ControllerTest
:queries
def test_show
get :show, :params => {
:project_id => 1
}
with_settings :gravatar_enabled => '1' do
get :show, :params => {
:project_id => 1
}
end
assert_response :success
# query form
@@ -51,8 +53,9 @@ class CalendarsControllerTest < Redmine::ControllerTest
# Assert context menu on issues
assert_select 'form[data-cm-url=?]', '/issues/context_menu'
assert_select 'div.issue.hascontextmenu' do
assert_select 'div.issue.hascontextmenu.tooltip' do
assert_select 'input[name=?][type=?]', 'ids[]', 'checkbox'
assert_select 'img[class="gravatar"]'
end
end