Sha256: 88bd7bff0ec31a626d626c491f53f9b7708194563f58095df7c185e0e7e8745e

Contents?: true

Size: 280 Bytes

Versions: 17

Compression:

Stored size: 280 Bytes

Contents

FactoryGirl.define do
  factory :email_template, class: Effective::EmailTemplate do
    from      "user@example.com"
    cc        nil
    bcc       nil
    subject   "something important"
    body      "Hello World"

    sequence(:slug, 'a') {|a| "unique_slug_#{a}" }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
effective_email_templates-0.6.1 spec/factories/email_template.rb
effective_email_templates-0.6.0 spec/factories/email_template.rb
effective_email_templates-0.5.1 spec/factories/email_template.rb
effective_email_templates-0.5.0 spec/factories/email_template.rb
effective_email_templates-0.4.6 spec/factories/email_template.rb
effective_email_templates-0.4.5 spec/factories/email_template.rb
effective_email_templates-0.4.4 spec/factories/email_template.rb
effective_email_templates-0.4.3 spec/factories/email_template.rb
effective_email_templates-0.4.2 spec/factories/email_template.rb
effective_email_templates-0.4.1 spec/factories/email_template.rb
effective_email_templates-0.4.0 spec/factories/email_template.rb
effective_email_templates-0.3.5 spec/factories/email_template.rb
effective_email_templates-0.3.4 spec/factories/email_template.rb
effective_email_templates-0.3.3 spec/factories/email_template.rb
effective_email_templates-0.3.1 spec/factories/email_template.rb
effective_email_templates-0.3.0 spec/factories/email_template.rb
effective_email_templates-0.2.8 spec/factories/email_template.rb