Skip to content
Snippets Groups Projects
Commit c83004a0 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Remove milestone observer from db fixture.

parent e2552475
No related branches found
No related tags found
No related merge requests found
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 },
Loading
Loading
@@ -18,5 +16,3 @@ Milestone.all.map do |ml|
ml.set_iid
ml.save
end
ActiveRecord::Base.observers.enable(:milestone_observer)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment