metamaps--metamaps/spec/factories/maps.rb
2017-02-09 16:53:19 -05:00

12 lines
255 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