From f557d1f67a74fbfbc502f5e682ff3f16083b6094 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 28 Oct 2020 14:43:29 +0000 Subject: [PATCH] add text to assert_select of CalendarsControllerTest#test_show git-svn-id: http://svn.redmine.org/redmine/trunk@20228 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/calendars_controller_test.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb index c3ddbfe30..d6fc70b5c 100644 --- a/test/functional/calendars_controller_test.rb +++ b/test/functional/calendars_controller_test.rb @@ -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"]'