mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
15 lines
290 B
Ruby
15 lines
290 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :import do
|
|
user
|
|
name { 'owntracks_export.json' }
|
|
source { Import.sources[:owntracks] }
|
|
|
|
trait :with_points do
|
|
after(:create) do |import|
|
|
create_list(:point, 10, import:)
|
|
end
|
|
end
|
|
end
|
|
end
|