diff options
author | Go MAEDA <maeda@farend.jp> | 2024-10-20 07:02:22 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-10-20 07:02:22 +0000 |
commit | 309e6a27f35f56b397dc711c7ddfebef7e4b5db1 (patch) | |
tree | 08159f789b6853f9cdf040d7fc8ab107f6ca7e3d /test/functional | |
parent | 1d46be8b0f037e173ba4bf2c68ab0d0c33f1eb48 (diff) | |
download | redmine-309e6a27f35f56b397dc711c7ddfebef7e4b5db1.tar.gz redmine-309e6a27f35f56b397dc711c7ddfebef7e4b5db1.zip |
Replace "even" and "odd" CSS classes with "this-month" and "other-month" for calendar days (#41509).
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23151 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/calendars_controller_test.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb index 134d41cbe..ecf9e5597 100644 --- a/test/functional/calendars_controller_test.rb +++ b/test/functional/calendars_controller_test.rb @@ -219,14 +219,14 @@ class CalendarsControllerTest < Redmine::ControllerTest assert_select 'ul' do assert_select 'li.week-number:nth-of-type(2)', :text => /53$/ - assert_select 'li.odd', :text => /^27/ - assert_select 'li.even', :text => /^2/ + assert_select 'li.other-month', :text => /^27/ + assert_select 'li.this-month', :text => /^2/ end assert_select 'ul' do assert_select 'li.week-number', :text => /1$/ - assert_select 'li.odd', :text => /^3/ - assert_select 'li.even', :text => /^9/ + assert_select 'li.other-month', :text => /^3/ + assert_select 'li.this-month', :text => /^9/ end with_settings :start_of_week => 1 do @@ -242,14 +242,14 @@ class CalendarsControllerTest < Redmine::ControllerTest assert_select 'ul' do assert_select 'li.week-number:nth-of-type(2)', :text => /53$/ - assert_select 'li.even', :text => /^28/ - assert_select 'li.even', :text => /^3/ + assert_select 'li.this-month', :text => /^28/ + assert_select 'li.this-month', :text => /^3/ end assert_select 'ul' do assert_select 'li.week-number', :text => /1$/ - assert_select 'li.even', :text => /^4/ - assert_select 'li.even', :text => /^10/ + assert_select 'li.this-month', :text => /^4/ + assert_select 'li.this-month', :text => /^10/ end end |