diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-03 15:12:38 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-03 15:12:38 +0000 |
commit | a53ac863cef6ef92f9fb30927103e74b95519db0 (patch) | |
tree | 31617e329098f086737ff774d54094808f53d157 /test | |
parent | 576706b6cb72105ee6ff9f34431be128fc974172 (diff) | |
download | redmine-a53ac863cef6ef92f9fb30927103e74b95519db0.tar.gz redmine-a53ac863cef6ef92f9fb30927103e74b95519db0.zip |
more strictly start date assertion at CalendarsControllerTest#test_show
git-svn-id: http://svn.redmine.org/redmine/trunk@20241 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/calendars_controller_test.rb | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb index c30e3274b..7a1579d61 100644 --- a/test/functional/calendars_controller_test.rb +++ b/test/functional/calendars_controller_test.rb @@ -66,16 +66,20 @@ class CalendarsControllerTest < Redmine::ControllerTest assert_select 'form[data-cm-url=?]', '/issues/context_menu' assert_select 'table.cal' do - assert_select 'p.day-num', :text => date.day.to_s - 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"]' + 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/ + ) do + assert_select 'a.issue[href=?]', '/issues/2', :text => 'Feature request #2' + assert_select 'span.tip' do + assert_select 'img[class="gravatar"]' + end + assert_select 'input[name=?][type=?][value=?]', 'ids[]', 'checkbox', '2' + end end - assert_select 'input[name=?][type=?][value=?]', 'ids[]', 'checkbox', '2' end end end |