Commit 03472b4fc02a256c90c0285765e7da82c56e93a2

Authored by Dmitriy Zaporozhets
2 parents 77934172 5c9127ea

Merge branch 'master' of github.com:gitlabhq/gitlabhq

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
db/fixtures/development/07_milestones.rb
  1 +ActiveRecord::Base.observers.disable(:milestone_observer)
  2 +
1 Milestone.seed(:id, [ 3 Milestone.seed(:id, [
2 { id: 1, project_id: 1, title: 'v' + Faker::Address.zip_code }, 4 { id: 1, project_id: 1, title: 'v' + Faker::Address.zip_code },
3 { id: 2, project_id: 1, title: 'v' + Faker::Address.zip_code }, 5 { id: 2, project_id: 1, title: 'v' + Faker::Address.zip_code },
@@ -16,3 +18,5 @@ Milestone.all.map do |ml| @@ -16,3 +18,5 @@ Milestone.all.map do |ml|
16 ml.set_iid 18 ml.set_iid
17 ml.save 19 ml.save
18 end 20 end
  21 +
  22 +ActiveRecord::Base.observers.enable(:milestone_observer)