Fixes wrong test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5231 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
dafbb8b283
commit
7d59698021
|
@ -46,7 +46,7 @@ class CalendarTest < ActiveSupport::TestCase
|
|||
with_settings :start_of_week => day do
|
||||
c = Redmine::Helpers::Calendar.new(Date.today, :en, :month)
|
||||
assert_equal day , c.startdt.cwday
|
||||
assert_equal (day + 5) % 7, c.enddt.cwday
|
||||
assert_equal (day + 5) % 7 + 1, c.enddt.cwday
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue