[#4420] Remove Deliverable#frequency, assumed to be monthly.

This commit is contained in:
Eric Davis committed 2010-09-01 20:24:29 -07:00
1 parent 6a0c6348ed
commit df53f27114
7 files changed
+10 -20

No files matched your search

-5
View File
@@ -5,11 +5,6 @@ class RetainerDeliverableTest < ActiveSupport::TestCase
assert_equal HourlyDeliverable, RetainerDeliverable.superclass
end
context "#frequency" do
should_allow_values_for(:frequency, nil, '', 'monthly', 'quarterly')
should_not_allow_values_for(:frequency, 'anything', 'else', 'weekly')
end
context "#months" do
should "be an array of months the Deliverable is active in" do
d = RetainerDeliverable.new(:start_date => Date.today.beginning_of_month,