# frozen_string_literal: true

FactoryBot.define do
  factory :message do
    association(:recipient, factory: :user)
    association(:author, factory: :user)
    sequence(:subject) { |n| "message subject #{n}" }
    sequence(:body) { |n| "message body #{n}" }
  end
end
