Refactor factories to use FactoryBot
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 29 Nov 2017 12:33:23 +0000 (12:33 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 29 Nov 2017 12:33:23 +0000 (12:33 +0000)
test/factories/issues.rb
test/factories/reports.rb

index b6dec44..913c47f 100644 (file)
@@ -1,4 +1,4 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :issue do
     # Default to reporting users
     association :reportable, :factory => :user
index 7c00766..3945bfd 100644 (file)
@@ -1,4 +1,4 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :report do
     sequence(:details) { |n| "Report details #{n}" }
     issue