mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 18:26:06 +00:00
renaming factory girl => factory bot
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user