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 +4 -4
- data/lib/workarea/integration_test.rb +1 -0
- data/lib/workarea/performance_test.rb +1 -0
- data/lib/workarea/system_test.rb +1 -0
- data/lib/workarea/test_case.rb +18 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6fc183ae73e69464b21e8db06f0140a99f77ee610ce4081365da0368ea72d39
|
4
|
+
data.tar.gz: 387ecc1977c98fa476d0928475dac20a11aa8964faabc104a4acc1bc2653aca8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa405e1291f23d96d4b3a32e08cba3100f3146c7ee948b7e75faabe72a97d68bbaad09e400f55722dbb92ec9b48805462a779fd90cd7ac1de41bb5eb32c34b40
|
7
|
+
data.tar.gz: 32e820baac19729e666325edc85c5abc97d04495d004b4242a71be2711eee3bc43967dc9815f4b01d56e24b0ae3f2d2096a8e6f981fd46b083532ab2a35ff0d8
|
data/lib/workarea/system_test.rb
CHANGED
data/lib/workarea/test_case.rb
CHANGED
@@ -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.
|
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
|
+
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.
|
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.
|
26
|
+
version: 3.5.14
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: capybara
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|