Remove milestone observer from db fixture.
This commit is contained in:
parent
e2552475e2
commit
c83004a0f1
1 changed files with 0 additions and 4 deletions
|
@ -1,5 +1,3 @@
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue