123456789101112131415161718192021 |
- FactoryBot.define do
- factory :failed_email do
- valid
- trait :valid do
- data { <<~MAIL.chomp }
- From: ME Bob <me@example.com>
- To: customer@example.com
- Subject: some subject
- Some Text
- MAIL
- end
- trait :invalid do
- data { 'not a mail' }
- end
- end
- end
|