]> source.dussan.org Git - redmine.git/commitdiff
more strictly assert gravatar for calendar in CalendarsControllerTest#test_show
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 3 Oct 2020 15:37:37 +0000 (15:37 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 3 Oct 2020 15:37:37 +0000 (15:37 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20121 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/calendars_controller_test.rb

index c0baaf7bf3ddb512bdae305e0fe34a4fe96f2d04..fa6f6ee2889a2eadd5907c6cf2154f3f2df56691 100644 (file)
@@ -64,8 +64,10 @@ class CalendarsControllerTest < Redmine::ControllerTest
     # Assert context menu on issues
     assert_select 'form[data-cm-url=?]', '/issues/context_menu'
     assert_select 'div.issue.hascontextmenu.tooltip.starting' do
+      assert_select 'span.tip' do
+        assert_select 'img[class="gravatar"]'
+      end
       assert_select 'input[name=?][type=?][value=?]', 'ids[]', 'checkbox', '2'
-      assert_select 'img[class="gravatar"]'
     end
   end