Commit 7d596980 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang Committed by Eric Davis

Fixes wrong test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5231 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent dafbb8b2
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment