Skip to content

Commit 5986b58

Browse files
committed
more strictly assert gravatar for calendar in CalendarsControllerTest#test_show
git-svn-id: http://svn.redmine.org/redmine/trunk@20121 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent 8249bdb commit 5986b58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/functional/calendars_controller_test.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ def test_show
6464
# Assert context menu on issues
6565
assert_select 'form[data-cm-url=?]', '/issues/context_menu'
6666
assert_select 'div.issue.hascontextmenu.tooltip.starting' do
67+
assert_select 'span.tip' do
68+
assert_select 'img[class="gravatar"]'
69+
end
6770
assert_select 'input[name=?][type=?][value=?]', 'ids[]', 'checkbox', '2'
68-
assert_select 'img[class="gravatar"]'
6971
end
7072
end
7173

0 commit comments

Comments
 (0)