diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-05 13:06:47 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-05 13:06:47 +0000 |
commit | 0c61cfe6ea401ac8d9fa2343383df209403fb9f8 (patch) | |
tree | 311499dd11af3f9923006f8eb637c423eecce9d8 /test | |
parent | 785184c922c17e9bbd0f38f53e7e4881b9d2ae29 (diff) | |
download | redmine-0c61cfe6ea401ac8d9fa2343383df209403fb9f8.tar.gz redmine-0c61cfe6ea401ac8d9fa2343383df209403fb9f8.zip |
remove start date assertion from CalendarsControllerTest#test_show
git-svn-id: http://svn.redmine.org/redmine/trunk@20256 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/calendars_controller_test.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb index d83755c71..5e68e3556 100644 --- a/test/functional/calendars_controller_test.rb +++ b/test/functional/calendars_controller_test.rb @@ -38,8 +38,7 @@ class CalendarsControllerTest < Redmine::ControllerTest def test_show # Ensure that an issue to which a user is assigned is in the current # month's calendar in order to test Gravatar - date = issues(:issues_002).start_date - travel_to date + travel_to issues(:issues_002).start_date with_settings :gravatar_enabled => '1' do get( @@ -69,8 +68,8 @@ class CalendarsControllerTest < Redmine::ControllerTest assert_select 'tr' do assert_select 'td' do assert_select( - 'p.day-num ~ div.issue.hascontextmenu.tooltip.starting', - :text => /#{date.day}.*Add ingredients categories/ + '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 |