Remove milestone observer from db fixture.

This commit is contained in:
Marin Jankovski 2014-06-20 12:01:22 +02:00
parent e2552475e2
commit c83004a0f1

View file

@ -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)