metamaps--metamaps/spec/factories/message.rb
2017-11-25 11:18:32 -08:00

9 lines
187 B
Ruby

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