[#4289] Ported the billing plugin's timesheet hooks.

This commit is contained in:
Eric Davis
2010-07-23 10:16:41 -07:00
parent 7192adb231
commit e541270461
14 changed files with 180 additions and 15 deletions
+5
View File
@@ -100,4 +100,9 @@ class Rate < ActiveRecord::Base
raise Rate::InvalidParameterException.new("date must be a valid Date string (e.g. YYYY-MM-DD)")
end
end
if Rails.env.test?
public
generator_for :date_in_effect => Date.today
end
end