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:
1 parent
17c7886791
commit
eb7cbd481e
4 files changed
+92
-3
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user