cartodb-4.42/spec/factories/invitations.rb

9 lines
340 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
FactoryGirl.define do
# This can't work because activerecord-postgresql-array bug (see Carto::Invitation).
# Use Carto::Invitation.create_new instead
# factory :invitation, class: Carto::Invitation do
# users_emails ['first_email@whatever.com', 'second_email@whatever.com' ]
# welcome_text 'Welcome to the jungle'
# end
end