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:
Jean-Philippe Lang 2011-03-27 16:49:35 +00:00
parent 08f44b67f5
commit 96ff8ef4bc
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class CalendarTest < ActiveSupport::TestCase
with_settings :start_of_week => day do with_settings :start_of_week => day do
c = Redmine::Helpers::Calendar.new(Date.today, :en, :month) c = Redmine::Helpers::Calendar.new(Date.today, :en, :month)
assert_equal day , c.startdt.cwday 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 end
end end