Sha256: b90f304899b71c21fe0753715d35cbcee5a55dc62c13ff730a548b158d4d282c
Contents?: true
Size: 253 Bytes
Versions: 33
Compression:
Stored size: 253 Bytes
Contents
FactoryGirl.define do factory :attachment, class: 'MessageTrain::Attachment' do message { MessageTrain::Message.order('RANDOM()').first } attachment { File.open(Dir['spec/dummy/app/assets/files/message_train/attachments/*'].sample) } end end
Version data entries
33 entries across 33 versions & 1 rubygems