workarea-testing 3.5.13 → 3.5.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c835abc58742822c89032ee934f4c892f891a3fac809c2be1f87dc468725167d
4
- data.tar.gz: 1a2c26289848f8b12bb78fa9297012f1285aadf2d4cb106b19c26092f7d102e5
3
+ metadata.gz: c6fc183ae73e69464b21e8db06f0140a99f77ee610ce4081365da0368ea72d39
4
+ data.tar.gz: 387ecc1977c98fa476d0928475dac20a11aa8964faabc104a4acc1bc2653aca8
5
5
  SHA512:
6
- metadata.gz: e1c7799d2b52ef9bd11eb16abb072d4d52e4b871369c85dd55444292504df1831cf78c0bbec12bf4e7ca66fdcd6e9f79ca92411983b9280ffebbcf5f09ae1117
7
- data.tar.gz: a2e9e70cc82e9b49d1e5f2591ee0cc6033c418f896299572de537cbef67e25f8dfacd7ea03fcbc249f258a912a5141d7ec4b6b65033bf81c89e96d9eae42fb9e
6
+ metadata.gz: aa405e1291f23d96d4b3a32e08cba3100f3146c7ee948b7e75faabe72a97d68bbaad09e400f55722dbb92ec9b48805462a779fd90cd7ac1de41bb5eb32c34b40
7
+ data.tar.gz: 32e820baac19729e666325edc85c5abc97d04495d004b4242a71be2711eee3bc43967dc9815f4b01d56e24b0ae3f2d2096a8e6f981fd46b083532ab2a35ff0d8
@@ -37,6 +37,7 @@ module Workarea
37
37
  include TestCase::Locales
38
38
  include TestCase::S3
39
39
  include TestCase::Encryption
40
+ include TestCase::Geocoder
40
41
  include Factories
41
42
  include Configuration
42
43
  end
@@ -10,6 +10,7 @@ module Workarea
10
10
  include TestCase::Locales
11
11
  include TestCase::S3
12
12
  include TestCase::Encryption
13
+ include TestCase::Geocoder
13
14
  include Factories
14
15
  include IntegrationTest::Configuration
15
16
 
@@ -71,6 +71,7 @@ module Workarea
71
71
  include TestCase::Locales
72
72
  include TestCase::S3
73
73
  include TestCase::Encryption
74
+ include TestCase::Geocoder
74
75
  include Factories
75
76
  include IntegrationTest::Configuration
76
77
 
@@ -243,6 +243,23 @@ module Workarea
243
243
  end
244
244
  end
245
245
 
246
+ module Geocoder
247
+ extend ActiveSupport::Concern
248
+
249
+ included do
250
+ setup :save_geocoder_config
251
+ teardown :restore_geocoder_config
252
+ end
253
+
254
+ def save_geocoder_config
255
+ @original_geocoder_config = ::Geocoder.config.deep_dup
256
+ end
257
+
258
+ def restore_geocoder_config
259
+ ::Geocoder.configure(@original_geocoder_config)
260
+ end
261
+ end
262
+
246
263
  extend Decoration
247
264
  extend RunnerLocation
248
265
  include Setup
@@ -254,6 +271,7 @@ module Workarea
254
271
  include Locales
255
272
  include S3
256
273
  include Encryption
274
+ include Geocoder
257
275
 
258
276
  setup do
259
277
  Workarea.config.send_email = false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-testing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.13
4
+ version: 3.5.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Crouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-11 00:00:00.000000000 Z
11
+ date: 2020-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.5.13
19
+ version: 3.5.14
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.5.13
26
+ version: 3.5.14
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: capybara
29
29
  requirement: !ruby/object:Gem::Requirement