metamaps--metamaps/spec/factories/maps.rb

13 lines
255 B
Ruby
Raw Permalink Normal View History

2016-09-24 03:00:46 +00:00
# frozen_string_literal: true
2015-12-17 01:16:02 +00:00
FactoryGirl.define do
factory :map do
sequence(:name) { |n| "Cool Map ##{n}" }
2015-12-17 01:16:02 +00:00
permission :commons
arranged { false }
source_id nil
desc ''
2015-12-17 01:16:02 +00:00
user
2017-02-09 21:53:19 +00:00
association :updated_by, factory: :user
2015-12-17 01:16:02 +00:00
end
end