Sha256: 487a49876d884fd5fdf2cda72764007417ebacb9f2702830ef76678d4c116cc5

Contents?: true

Size: 230 Bytes

Versions: 28

Compression:

Stored size: 230 Bytes

Contents

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

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
enju_message-0.0.25 spec/factories/message.rb
enju_message-0.1.9 spec/factories/message.rb
enju_message-0.0.24 spec/factories/message.rb
enju_message-0.1.8 spec/factories/message.rb
enju_message-0.0.23 spec/factories/message.rb
enju_message-0.1.7 spec/factories/message.rb
enju_message-0.0.22 spec/factories/message.rb
enju_message-0.1.6 spec/factories/message.rb
enju_message-0.0.21 spec/factories/message.rb
enju_message-0.1.5 spec/factories/message.rb
enju_message-0.0.20 spec/factories/message.rb
enju_message-0.1.4 spec/factories/message.rb
enju_message-0.1.3 spec/factories/message.rb
enju_message-0.1.2 spec/factories/message.rb
enju_message-0.0.19 spec/factories/message.rb
enju_message-0.1.1 spec/factories/message.rb
enju_message-0.1.0 spec/factories/message.rb
enju_message-0.0.18 spec/factories/message.rb
enju_message-0.0.17 spec/factories/message.rb
enju_message-0.0.16 spec/factories/message.rb