mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user