cartodb-4.42/spec/factories/external_sources.rb

13 lines
299 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +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