metamaps--metamaps/spec/factories/message.rb

9 lines
186 B
Ruby
Raw Normal View History

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