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

13 lines
299 B
Ruby

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