summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-12-15 16:32:34 +0000
committerRobert Speicher <robert@gitlab.com>2017-12-15 16:32:34 +0000
commit627a96875ee68e37b45192af3121f09032ea4bbf (patch)
tree983781e7aaff8f50c0f81c27d9b352a63b3543cb /db
parentd2f313dcbccc1e3642fb0ccdf0849e0ef4ec8e21 (diff)
parent4af9d592c500d2d97ec091d10ba860488c3702ea (diff)
downloadgitlab-ce-627a96875ee68e37b45192af3121f09032ea4bbf.tar.gz
Merge branch 'rc/use-factory_bot_rails' into 'master'
Replace factory_girl_rails with factory_bot_rails See merge request gitlab-org/gitlab-ce!15919
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/development/17_cycle_analytics.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/fixtures/development/17_cycle_analytics.rb b/db/fixtures/development/17_cycle_analytics.rb
index 96c6d954ff7..d7be6f5950f 100644
--- a/db/fixtures/development/17_cycle_analytics.rb
+++ b/db/fixtures/development/17_cycle_analytics.rb
@@ -140,8 +140,8 @@ class Gitlab::Seeder::CycleAnalytics
issue.update(milestone: @project.milestones.sample)
else
label_name = "#{FFaker::Product.brand}-#{FFaker::Product.brand}-#{rand(1000)}"
- list_label = FactoryGirl.create(:label, title: label_name, project: issue.project)
- FactoryGirl.create(:list, board: FactoryGirl.create(:board, project: issue.project), label: list_label)
+ list_label = FactoryBot.create(:label, title: label_name, project: issue.project)
+ FactoryBot.create(:list, board: FactoryBot.create(:board, project: issue.project), label: list_label)
issue.update(labels: [list_label])
end