cartodb-4.29/spec/factories/external_data_imports.rb
2020-06-15 10:58:47 +08:00

11 lines
270 B
Ruby

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