diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-06-20 14:01:22 +0400 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-06-20 14:01:22 +0400 |
commit | c83004a0f16017b46be04b2f229f3bc2b4daaf71 (patch) | |
tree | 2b0e4c1a0429fac62b379e2797bf0d0454fa0c85 | |
parent | e2552475e26248d208efe520cf35aad4ea67f74b (diff) |
Remove milestone observer from db fixture.
-rw-r--r-- | db/fixtures/development/07_milestones.rb | 4 |
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) |