Sha256: 305b9d4b70b1f82cba17f4422b6c1e8998157501b1d833599ac8f120dcc26d2e

Contents?: true

Size: 276 Bytes

Versions: 5

Compression:

Stored size: 276 Bytes

Contents

FactoryGirl.define do
  factory :empty_envelope_bag, class: MailCannon::EnvelopeBag do
    envelopes []

    factory :filled_envelope_bag, class: MailCannon::EnvelopeBag do
      envelopes {[FactoryGirl.build(:envelope),FactoryGirl.build(:envelope_multi)]}
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mailcannon-0.1.1 spec/factories/envelope_bag.rb
mailcannon-0.1.0.pre.1 spec/factories/envelope_bag.rb
mailcannon-0.0.8.pre.1 spec/factories/envelope_bag.rb
mailcannon-0.0.8 spec/factories/envelope_bag.rb
mailcannon-0.0.6 spec/factories/envelope_bag.rb