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
+2 -2
View File
@@ -21,10 +21,10 @@
# index_organizations_on_uuid (uuid)
#
FactoryGirl.define do
FactoryBot.define do
factory :organization do
name "Acme Inc"
name { "Acme Inc" }
sequence(:permalink) { |n| "org#{n}" }
association :owner, :factory => :user
end