Sha256: 67e58925e5e381abaa848f9fda80df3479865f08484f9e79aa407065e24592c7
Contents?: true
Size: 507 Bytes
Versions: 9
Compression:
Stored size: 507 Bytes
Contents
# Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :mailing, class: MailManager::Mailing do subject {Faker::Company.bs.split(/\s+/).map(&:capitalize).join(' ')} from_email_address {Faker::Internet.email} scheduled_at {Time.now.utc} mailable_type "MailManager::Mailable" mailable_id {(MailManager::Mailable.first || FactoryGirl.create(:mailable)).id} include_images {random_int(0,1)} end end
Version data entries
9 entries across 9 versions & 1 rubygems