add text to assert_select of CalendarsControllerTest#test_show

git-svn-id: http://svn.redmine.org/redmine/trunk@20228 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-10-28 14:43:29 +00:00
parent 385ac98c9d
commit f557d1f67a

View File

@@ -63,7 +63,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(
'div.issue.hascontextmenu.tooltip.starting',
:text => /Add ingredients categories/
) do
assert_select 'a.issue[href=?]', '/issues/2', :text => 'Feature request #2'
assert_select 'span.tip' do
assert_select 'img[class="gravatar"]'