metamaps--metamaps/spec/factories/message.rb
2018-03-10 08:10:09 -08:00

9 lines
186 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :message do
association :resource, factory: :map
user
sequence(:message) { |n| "Cool Message ##{n}" }
end
end