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