workarea-testing 3.4.32 → 3.4.37

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: b641da772201c70be13c3bbbac8f5bd401161976081b1333704f3670a44e9ef5
4
- data.tar.gz: 1e2c398cc18464f1ba2889f05c32730c1c640a78335cb347d7b0b8aebdf27ea0
3
+ metadata.gz: f3e359d6ca7d46788f0466755bab22a70d5aea2e3c11252618461165bf8b853b
4
+ data.tar.gz: 42b28269c0ae338140ce4f0dce6615c61d6b743d184a6c9292a8aea7fd4be778
5
5
  SHA512:
6
- metadata.gz: dec3144751128ab30bd4640cf764d3a8f6131babbf8e9c126c9ebf6bedfb76f497ef537c36a88c18b39d8ffeceaee879726bbe9dc7bd08cd3a3940300ff28bbd
7
- data.tar.gz: 3c9d6a68c6fa86ee763c966a2ade7254c41fa396e10487aa410e64b2ca769afe350754c221d7bef7f906b8172b6d7c488f299a759943b7d20cf5c23ca71f020c
6
+ metadata.gz: a1508343f14e00b153be6fed2289585334ed40cbc19c899fe2d2b71d435274cd3e2a3777391bb6c72205a36147b94d53b6020451545369e1133d2c98f2e22c08
7
+ data.tar.gz: c83f8730a3f08feedb447cc7eae8bd282d857f024394beffda7c89d79ea278f819834f2acdc659707e4d02936c093c78ab5d3435c9663e2cedcd02494efe8fca
@@ -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.32
4
+ version: 3.4.37
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-04-28 00:00:00.000000000 Z
11
+ date: 2020-07-22 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.32
19
+ version: 3.4.37
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.32
26
+ version: 3.4.37
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: capybara
29
29
  requirement: !ruby/object:Gem::Requirement