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

13 lines
255 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :map do
sequence(:name) { |n| "Cool Map ##{n}" }
permission :commons
arranged { false }
source_id nil
desc ''
user
association :updated_by, factory: :user
end
end