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 +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: 46f2512eb7b4e2327dbba1a77a046383329d348e299a00a21ba56e9cf5b347a3
|
4
|
+
data.tar.gz: 553581b974c5c35879eae08ac71ab937d9463c8ece0365f4c5d8168fdea253b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acb637bb1b31f09e0e83bbbe979be29aef5b6f009740d0c30817a08fb1fd534f42a0a56aab8a9c5d3b96df9af2b2b4816dc4076d7b1022e63b8e7952fb8f3dc2
|
7
|
+
data.tar.gz: 5591793d8e7b9103b98ef6ba011966f594f276d3a04c07c29c50534f86b6591c90adfcd9a198811af59e35f4cfcd0197b1f6cf43e39ce2d4d0f7cfdd9f52d34c
|
data/lib/workarea/system_test.rb
CHANGED
data/lib/workarea/test_case.rb
CHANGED
@@ -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.
|
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
|
+
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.
|
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.
|
26
|
+
version: 3.4.35
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: capybara
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|