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