Sha256: cb7597cef083d189cefc770be465b85d31ca6b4da80cdb3a84e5871207678e87
Contents?: true
Size: 478 Bytes
Versions: 58
Compression:
Stored size: 478 Bytes
Contents
# frozen_string_literal: true RSpec.configure do |config| config.before(:suite) do # Set geocoder configuration in test mode Decidim.geocoder = { static_map_url: "https://www.example.org/my_static_map", here_app_id: "1234", here_app_code: "5678" } Geocoder.configure(lookup: :test) end config.before(:each, :serves_map) do stub_request(:get, %r{https://www\.example\.org/my_static_map}) .to_return(body: "map_data") end end
Version data entries
58 entries across 58 versions & 2 rubygems