renaming factory girl => factory bot

This commit is contained in:
Adam Cooke
2019-03-14 10:46:41 +00:00
parent 145a5f3cba
commit f56dac2284
8 changed files with 26 additions and 26 deletions
+3 -3
View File
@@ -34,13 +34,13 @@
# index_domains_on_uuid (uuid)
#
FactoryGirl.define do
FactoryBot.define do
factory :domain do
association :owner, :factory => :user
sequence(:name) { |n| "example#{n}.com" }
verification_method 'DNS'
verified_at Time.now
verification_method { 'DNS' }
verified_at { Time.now }
end
factory :organization_domain, :parent => :domain do