From f5228657fea2ac46ec2590298874aa9842ffe221 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 29 Nov 2017 12:33:23 +0000 Subject: [PATCH] Refactor factories to use FactoryBot --- test/factories/issues.rb | 2 +- test/factories/reports.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/factories/issues.rb b/test/factories/issues.rb index b6dec4478..913c47f2a 100644 --- a/test/factories/issues.rb +++ b/test/factories/issues.rb @@ -1,4 +1,4 @@ -FactoryGirl.define do +FactoryBot.define do factory :issue do # Default to reporting users association :reportable, :factory => :user diff --git a/test/factories/reports.rb b/test/factories/reports.rb index 7c0076677..3945bfd3c 100644 --- a/test/factories/reports.rb +++ b/test/factories/reports.rb @@ -1,4 +1,4 @@ -FactoryGirl.define do +FactoryBot.define do factory :report do sequence(:details) { |n| "Report details #{n}" } issue -- 2.39.5