cartodb/spec/factories/invitations.rb

9 lines
340 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +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