cartodb/spec/factories/external_sources.rb

13 lines
299 B
Ruby
Raw Permalink Normal View History

2020-06-15 10:58:47 +08:00
require_relative '../../app/models/carto/external_source'
FactoryGirl.define do
factory :external_source, class: Carto::ExternalSource do
association :visualization, factory: :carto_visualization, type: 'remote'
import_url 'http://www.wadus.com'
rows_counted 1
size 1
end
end