Sha256: 87c05a3713f1f8a987252d27f4a8fc07741097d2202cad4dfdcb84f7a4dd901e

Contents?: true

Size: 258 Bytes

Versions: 3

Compression:

Stored size: 258 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_message-0.3.0 spec/factories/message.rb
enju_message-0.3.0.rc.1 spec/factories/message.rb
enju_message-0.3.0.beta.1 spec/factories/message.rb