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 committed by Eric Davis
parent dafbb8b283
commit 7d59698021
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
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