Commit c83004a0 by Marin Jankovski

Remove milestone observer from db fixture.

parent e2552475
ActiveRecord::Base.observers.disable(:milestone_observer)
Milestone.seed(:id, [
{ id: 1, project_id: 1, title: 'v' + Faker::Address.zip_code },
{ id: 2, project_id: 1, title: 'v' + Faker::Address.zip_code },
......@@ -18,5 +16,3 @@ Milestone.all.map do |ml|
ml.set_iid
ml.save
end
ActiveRecord::Base.observers.enable(:milestone_observer)
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