Sha256: 6c93af9f31ff2b805082ba200ff2a4a1dfeec2f141979631089a587a26511fc5
Contents?: true
Size: 658 Bytes
Versions: 1
Compression:
Stored size: 658 Bytes
Contents
# encoding: UTF-8 FactoryGirl.define do factory :campaign, :class => Contactology::Campaigns::Standard do name 'factory campaign' content 'text' => 'This is a good message! {COMPANY_ADDRESS}' sender_email 'sender@example.com' sender_name 'Sender Example' subject 'Factory Campaign Message' initialize_with { new(attributes) } factory :standard_campaign do association :recipients, :factory => :list end factory :transactional_campaign, :class => Contactology::Campaigns::Transactional do test_contact 'email' => 'test-contact@example.com' test_replacements 'first_name' => 'John' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
contactology-1.0.0 | spec/factories/campaigns.rb |