From 2f634afd7e2355dff254a2dbbf3c0c303aef575f Mon Sep 17 00:00:00 2001 From: Nikolai B Date: Sun, 12 Apr 2020 23:14:15 +0100 Subject: [PATCH] Fix specs Add geocoder_key --- app/models/site_config.rb | 2 -- spec/factories/site_configs_factory.rb | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/site_config.rb b/app/models/site_config.rb index c5d7437f5..6b4fe5716 100644 --- a/app/models/site_config.rb +++ b/app/models/site_config.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true - - class SiteConfig < ApplicationRecord TILE_SERVER_TYPES = %w[layers wms].freeze diff --git a/spec/factories/site_configs_factory.rb b/spec/factories/site_configs_factory.rb index 52174b411..e86747813 100644 --- a/spec/factories/site_configs_factory.rb +++ b/spec/factories/site_configs_factory.rb @@ -13,6 +13,7 @@ default_locale { "en-GB" } timezone { "Europe/London" } geocoder_url { "https://api.cyclestreets.net/v2/geocoder" } + geocoder_key { "cyclestreets_api_key" } email_domain { "cyclescape.org" } default_email { "info@example.com" } blog_url { "http://blog.cyclescape.org/" }