Sha256: 49e2d8513ab00bd50f3642588e80d57ba89c86e1c1c507d46a3c417170c170ef

Contents?: true

Size: 240 Bytes

Versions: 23

Compression:

Stored size: 240 Bytes

Contents

FactoryGirl.define do
  factory :message do |f|
    f.recipient{FactoryGirl.create(:profile).user.username}
    f.sender{FactoryGirl.create(:profile).user}
    f.subject 'new message'
    f.body 'new message body is really short'
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
enju_message-0.1.14.pre17 spec/factories/message.rb
enju_message-0.1.14.pre16 spec/factories/message.rb
enju_message-0.1.14.pre15 spec/factories/message.rb