2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2018-09-03 20:48:28 +02:00
|
|
|
# Read about factories at https://github.com/thoughtbot/factory_bot
|
2014-05-13 15:45:39 +02:00
|
|
|
|
2018-09-03 20:44:39 +02:00
|
|
|
FactoryBot.define do
|
2014-05-13 15:45:39 +02:00
|
|
|
factory :email_settings do
|
2018-09-08 03:58:50 +02:00
|
|
|
send_on_registration { true }
|
|
|
|
|
send_on_accepted { false }
|
|
|
|
|
send_on_rejected { false }
|
|
|
|
|
send_on_confirmed_without_registration { false }
|
|
|
|
|
send_on_conference_dates_updated { true }
|
|
|
|
|
send_on_conference_registration_dates_updated { true }
|
|
|
|
|
send_on_program_schedule_public { true }
|
|
|
|
|
send_on_cfp_dates_updated { true }
|
|
|
|
|
conference_dates_updated_body { 'Sample Conference\n New Dates: January 17 - 21 2014' }
|
|
|
|
|
conference_dates_updated_subject { 'Conference dates have been updated' }
|
|
|
|
|
conference_registration_dates_updated_subject { 'Conference registration dates have been updated' }
|
|
|
|
|
conference_registration_dates_updated_body { 'Sample Conference\n New Dates: January 17 - 21 2014' }
|
|
|
|
|
send_on_venue_updated { true }
|
|
|
|
|
venue_updated_subject { 'Venue has been updated' }
|
|
|
|
|
venue_updated_body { 'Venue has been Updated to Sample Location' }
|
|
|
|
|
registration_subject { 'Lorem Ipsum Dolsum' }
|
|
|
|
|
registration_body { 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit' }
|
|
|
|
|
cfp_dates_updated_subject { 'Call for Papers dates have been updated' }
|
|
|
|
|
cfp_dates_updated_body { 'Please checkout the new updates to submit your proposal for Sample Conference' }
|
|
|
|
|
program_schedule_public_subject { 'Sample Conference Cfp schedule is Public' }
|
|
|
|
|
program_schedule_public_body { 'Call for Papers schedule is Public.Checkout the link' }
|
2014-05-13 15:45:39 +02:00
|
|
|
end
|
|
|
|
|
end
|