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

13 lines
256 B
Ruby

# frozen_string_literal: true
FactoryGirl.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