summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-10-03 15:37:37 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-10-03 15:37:37 +0000
commit5986b580a741cd34e648f463c7f60b5e2fbbae88 (patch)
tree50f1140d91e7f3fe0b3b5c3d46a01dfbc94c0ca4 /test/functional
parent8249bdbe15421c564ee743b49666b5ef6a79b814 (diff)
downloadredmine-5986b580a741cd34e648f463c7f60b5e2fbbae88.tar.gz
redmine-5986b580a741cd34e648f463c7f60b5e2fbbae88.zip
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
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/calendars_controller_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb
index c0baaf7bf..fa6f6ee28 100644
--- a/test/functional/calendars_controller_test.rb
+++ b/test/functional/calendars_controller_test.rb
@@ -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