summaryrefslogtreecommitdiff
path: root/db/fixtures
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-06-20 12:01:22 +0200
committerMarin Jankovski <marin@gitlab.com>2014-06-20 12:01:22 +0200
commitc83004a0f16017b46be04b2f229f3bc2b4daaf71 (patch)
tree2b0e4c1a0429fac62b379e2797bf0d0454fa0c85 /db/fixtures
parente2552475e26248d208efe520cf35aad4ea67f74b (diff)
downloadgitlab-ce-c83004a0f16017b46be04b2f229f3bc2b4daaf71.tar.gz
Remove milestone observer from db fixture.
Diffstat (limited to 'db/fixtures')
-rw-r--r--db/fixtures/development/07_milestones.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/db/fixtures/development/07_milestones.rb b/db/fixtures/development/07_milestones.rb
index 72e6b3ad3d6..6fe7e246770 100644
--- a/db/fixtures/development/07_milestones.rb
+++ b/db/fixtures/development/07_milestones.rb
@@ -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)