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.2.2 spec/factories/message.rb
enju_message-0.2.1 spec/factories/message.rb
enju_message-0.2.0 spec/factories/message.rb
enju_message-0.2.0.beta.5 spec/factories/message.rb
enju_message-0.2.0.beta.4 spec/factories/message.rb
enju_message-0.2.0.beta.3 spec/factories/message.rb
enju_message-0.2.0.beta.2 spec/factories/message.rb
enju_message-0.2.0.beta.1 spec/factories/message.rb
enju_message-0.1.16 spec/factories/message.rb
enju_message-0.1.15 spec/factories/message.rb
enju_message-0.1.14 spec/factories/message.rb
enju_message-0.1.14.pre26 spec/factories/message.rb
enju_message-0.1.14.pre25 spec/factories/message.rb
enju_message-0.1.14.pre24 spec/factories/message.rb
enju_message-0.1.14.pre23 spec/factories/message.rb
enju_message-0.1.14.pre22 spec/factories/message.rb
enju_message-0.1.14.pre21 spec/factories/message.rb
enju_message-0.1.14.pre20 spec/factories/message.rb
enju_message-0.1.14.pre19 spec/factories/message.rb
enju_message-0.1.14.pre18 spec/factories/message.rb