Sha256: 0f1d6f6fd3b9c3cc2c450441a5dac1bf17ab0f23df81e33389edb608f9605863

Contents?: true

Size: 313 Bytes

Versions: 8

Compression:

Stored size: 313 Bytes

Contents

# frozen_string_literal: true

RSpec.configure do |config|
  config.before(:each) do
    # Set geocoder configuration in test mode
    Decidim.geocoder = {
      static_map_url: "http://www.example.org",
      here_app_id: "1234",
      here_app_code: "5678"
    }
    Geocoder.configure(lookup: :test)
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
decidim-dev-0.3.2 lib/decidim/dev/test/rspec_support/geocoder.rb
decidim-0.3.2 decidim-dev/lib/decidim/dev/test/rspec_support/geocoder.rb
decidim-dev-0.3.1 lib/decidim/dev/test/rspec_support/geocoder.rb
decidim-0.3.1 decidim-dev/lib/decidim/dev/test/rspec_support/geocoder.rb
decidim-dev-0.3.0 lib/decidim/dev/test/rspec_support/geocoder.rb
decidim-0.3.0 decidim-dev/lib/decidim/dev/test/rspec_support/geocoder.rb
decidim-dev-0.2.0 lib/decidim/dev/test/rspec_support/geocoder.rb
decidim-0.2.0 decidim-dev/lib/decidim/dev/test/rspec_support/geocoder.rb