Commit 3b2da850 authored by Mark Chao's avatar Mark Chao

Port Milestone trait back used in EE

parent 35e02900
......@@ -18,6 +18,11 @@ FactoryBot.define do
state "closed"
end
trait :with_dates do
start_date { Date.new(2000, 1, 1) }
due_date { Date.new(2000, 1, 30) }
end
after(:build, :stub) do |milestone, evaluator|
if evaluator.group
milestone.group = evaluator.group
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment