workarea-testing 3.4.34 → 3.4.35

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: 8f2b54af0882dd9461d25592925df91d68ad7f6582ff1f83c60a27a79bd7acbe
4
- data.tar.gz: 2b8c67846eb1b6dc14861a943fe4fce5cdf8e785ddaf91101833e5f642a24f44
3
+ metadata.gz: 46f2512eb7b4e2327dbba1a77a046383329d348e299a00a21ba56e9cf5b347a3
4
+ data.tar.gz: 553581b974c5c35879eae08ac71ab937d9463c8ece0365f4c5d8168fdea253b5
5
5
  SHA512:
6
- metadata.gz: 8904b9a68ee8706ed2352b938974804272616c6685c0a69fa0965a331a48521ed2070c8d318aedeaca81c3a964c24cd1ba7f44a2ef1798cb20eea41c198c52a5
7
- data.tar.gz: 02e72ff8587dcad81a01f597799151a66571c7ad77ff10381b4bf2317dc7e31abf9a8558c12013a0407df64c96e8aafefcafbbe540ae0e89a8b77e5b6d80777b
6
+ metadata.gz: acb637bb1b31f09e0e83bbbe979be29aef5b6f009740d0c30817a08fb1fd534f42a0a56aab8a9c5d3b96df9af2b2b4816dc4076d7b1022e63b8e7952fb8f3dc2
7
+ data.tar.gz: 5591793d8e7b9103b98ef6ba011966f594f276d3a04c07c29c50534f86b6591c90adfcd9a198811af59e35f4cfcd0197b1f6cf43e39ce2d4d0f7cfdd9f52d34c
@@ -39,6 +39,7 @@ module Workarea
39
39
  include TestCase::RunnerLocation
40
40
  include TestCase::Locales
41
41
  include TestCase::S3
42
+ include TestCase::Geocoder
42
43
  include Factories
43
44
  include Configuration
44
45
  end
@@ -8,6 +8,7 @@ module Workarea
8
8
  include TestCase::RunnerLocation
9
9
  include TestCase::Locales
10
10
  include TestCase::S3
11
+ include TestCase::Geocoder
11
12
  include Factories
12
13
  include IntegrationTest::Configuration
13
14
 
@@ -53,6 +53,7 @@ module Workarea
53
53
  include TestCase::RunnerLocation
54
54
  include TestCase::Locales
55
55
  include TestCase::S3
56
+ include TestCase::Geocoder
56
57
  include Factories
57
58
  include IntegrationTest::Configuration
58
59
 
@@ -180,6 +180,23 @@ module Workarea
180
180
  end
181
181
  end
182
182
 
183
+ module Geocoder
184
+ extend ActiveSupport::Concern
185
+
186
+ included do
187
+ setup :save_geocoder_config
188
+ teardown :restore_geocoder_config
189
+ end
190
+
191
+ def save_geocoder_config
192
+ @original_geocoder_config = ::Geocoder.config.deep_dup
193
+ end
194
+
195
+ def restore_geocoder_config
196
+ ::Geocoder.configure(@original_geocoder_config)
197
+ end
198
+ end
199
+
183
200
  extend Decoration
184
201
  extend RunnerLocation
185
202
  include Factories
@@ -187,6 +204,7 @@ module Workarea
187
204
  include RunnerLocation
188
205
  include Locales
189
206
  include S3
207
+ include Geocoder
190
208
 
191
209
  setup do
192
210
  Mongoid.truncate!
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.4.34
4
+ version: 3.4.35
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.4.34
19
+ version: 3.4.35
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.4.34
26
+ version: 3.4.35
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: capybara
29
29
  requirement: !ruby/object:Gem::Requirement