summaryrefslogtreecommitdiffstats
path: root/test/functional/calendars_controller_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-04 14:44:37 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-04 14:44:37 +0000
commit86633c8a11eba015cfccc194d934bbcfba00b44e (patch)
treed55e6050912df72c50fe63a6e214f0acc8378234 /test/functional/calendars_controller_test.rb
parente7f6297e7c0096b165e793662800832a93c506a5 (diff)
downloadredmine-86633c8a11eba015cfccc194d934bbcfba00b44e.tar.gz
redmine-86633c8a11eba015cfccc194d934bbcfba00b44e.zip
more strictly start date assertion at CalendarsControllerTest#test_show
git-svn-id: http://svn.redmine.org/redmine/trunk@20254 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/calendars_controller_test.rb')
-rw-r--r--test/functional/calendars_controller_test.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb
index 7a1579d61..d83755c71 100644
--- a/test/functional/calendars_controller_test.rb
+++ b/test/functional/calendars_controller_test.rb
@@ -68,10 +68,9 @@ class CalendarsControllerTest < Redmine::ControllerTest
assert_select 'table.cal' do
assert_select 'tr' do
assert_select 'td' do
- assert_select 'p.day-num', :text => date.day.to_s
assert_select(
- 'div.issue.hascontextmenu.tooltip.starting',
- :text => /Add ingredients categories/
+ 'p.day-num ~ div.issue.hascontextmenu.tooltip.starting',
+ :text => /#{date.day}.*Add ingredients categories/
) do
assert_select 'a.issue[href=?]', '/issues/2', :text => 'Feature request #2'
assert_select 'span.tip' do