@@ -46,7 +46,7 class CalendarTest < ActiveSupport::TestCase | |||
|
46 | 46 | with_settings :start_of_week => day do |
|
47 | 47 | c = Redmine::Helpers::Calendar.new(Date.today, :en, :month) |
|
48 | 48 | assert_equal day , c.startdt.cwday |
|
49 | assert_equal (day + 5) % 7, c.enddt.cwday | |
|
49 | assert_equal (day + 5) % 7 + 1, c.enddt.cwday | |
|
50 | 50 | end |
|
51 | 51 | end |
|
52 | 52 | end |
General Comments 0
You need to be logged in to leave comments.
Login now