cartodb-4.29/spec/factories/invitations.rb
2020-06-15 10:58:47 +08:00

9 lines
340 B
Ruby

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