cartodb/spec/factories/geocodings.rb

14 lines
285 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
FactoryGirl.define do
# TODO: refactor tests that depend on default geocoding factory
factory :geocoding, class: Geocoding do
to_create(&:save)
kind 'namedplace'
formatter 'foo'
factory :high_resolution_geocoding do
kind 'high-resolution'
end
end
end