summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-09 21:26:34 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-09 21:26:34 +0300
commit03472b4fc02a256c90c0285765e7da82c56e93a2 (patch)
treec701c2d563180ead3d057685d855165664cffe9e
parent7793417206fcb62b8de156bcb8beeb4c10b371d9 (diff)
parent5c9127ea297bebf978005380d553240f22a9e0c4 (diff)
downloadgitlab-ce-03472b4fc02a256c90c0285765e7da82c56e93a2.tar.gz
Merge branch 'master' of github.com:gitlabhq/gitlabhq
-rw-r--r--db/fixtures/development/07_milestones.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/fixtures/development/07_milestones.rb b/db/fixtures/development/07_milestones.rb
index 6fe7e246770..72e6b3ad3d6 100644
--- a/db/fixtures/development/07_milestones.rb
+++ b/db/fixtures/development/07_milestones.rb
@@ -1,3 +1,5 @@
+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 },
@@ -16,3 +18,5 @@ Milestone.all.map do |ml|
ml.set_iid
ml.save
end
+
+ActiveRecord::Base.observers.enable(:milestone_observer)