cartodb/spec/factories/external_data_imports.rb

11 lines
270 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
require_relative '../../app/models/carto/external_data_import'
FactoryGirl.define do
# Requires data_import_id (because DataImport links a user)
factory :external_data_import_with_external_source, class: Carto::ExternalDataImport do
external_source
end
end