adapts planning_element factory to changed end_date attribute

pull/243/head
Jens Ulferts 11 years ago
parent 8c64b6ceb0
commit 44f7e3c271
  1. 2
      spec/factories/planning_element_factory.rb

@ -42,7 +42,7 @@ FactoryGirl.define do
sequence(:description) { |n| "Planning Element No. #{n} is the most important part of the project." }
sequence(:start_date) { |n| ((n - 1) * 7).days.since.to_date }
sequence(:end_date) { |n| (n * 7).days.since.to_date }
sequence(:due_date) { |n| (n * 7).days.since.to_date }
association :project
end

Loading…
Cancel
Save