Added some tests for projects controller and helper.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@989 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-12-14 17:31:24 +00:00
parent 17c7886791
commit eb7cbd481e
4 changed files with 92 additions and 3 deletions
+2 -2
View File
@@ -179,9 +179,9 @@ module ProjectsHelper
end
# today red line
if Date.today >= @date_from and Date.today <= @date_to
if Date.today >= date_from and Date.today <= date_to
gc.stroke('red')
x = (Date.today-@date_from+1)*zoom + subject_width
x = (Date.today-date_from+1)*zoom + subject_width
gc.line(x, headers_heigth, x, headers_heigth + g_height-1)
end