workarea-testing 3.5.22 → 3.5.23

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: c33a26bfe793c88d0eaaec3e85179dd2501daf4c90f084f70ce54a687e38ea32
4
- data.tar.gz: 06e9f6e5e1d7492c91103a4629e57422cd8ded961f187601920e08f14cbb7742
3
+ metadata.gz: eae8b75ea0eafe6fbfe87a15386749706948d23e4a0e883a2aa95984ea02bf16
4
+ data.tar.gz: c8af92ca5d239981e23b9d4824b8958c49ba478b5b7273caa0ab3d3d17946424
5
5
  SHA512:
6
- metadata.gz: 56688d5884c248c73f97acee5c9fc5827ab8b5be83e2df55f2a58ad4932268b1778e6032a9ee56165283c5d860d05d61f3d8ad6bcc624af6880c29d6d601827b
7
- data.tar.gz: 55195e144127f268ca6c132ad332efbe29f3ae3a17ae631817f8a7d18291e662f3b38cd819981b18e48948ca3a6b0b45e080df421ede298bcebb4cd01a0e7983
6
+ metadata.gz: e6a8762940e29d9b4683e347fe712d107b05787ab98ce3c4ab71fa0e9ce89a970459299d7357610aa1701a68d3dfac4fb13cc082cd4700d14c2148bedbd98717
7
+ data.tar.gz: 55ed629ccb4a34fabac4f9a21df237b1db69247a08b31204c36e6c84d1057e6f321eb3163d1611c13a9b1975956e3c8bc9146b7ad3e7ba3f4d6d89d26ad19e32
@@ -28,6 +28,15 @@ module Workarea
28
28
  end
29
29
  end
30
30
 
31
+ module Locales
32
+ def set_locales(*)
33
+ super
34
+
35
+ Workarea::Elasticsearch::Document.all.each(&:create_indexes!)
36
+ Workarea::Search::Storefront.ensure_dynamic_mappings
37
+ end
38
+ end
39
+
31
40
  extend TestCase::Decoration
32
41
  include TestCase::Configuration
33
42
  include TestCase::Workers
@@ -40,5 +49,6 @@ module Workarea
40
49
  include TestCase::Geocoder
41
50
  include Factories
42
51
  include Configuration
52
+ include Locales
43
53
  end
44
54
  end
@@ -13,6 +13,7 @@ module Workarea
13
13
  include TestCase::Geocoder
14
14
  include Factories
15
15
  include IntegrationTest::Configuration
16
+ include IntegrationTest::Locales
16
17
 
17
18
  HEADER = %w(measurement created_at workarea rails ruby revision passed)
18
19
 
@@ -74,6 +74,7 @@ module Workarea
74
74
  include TestCase::Geocoder
75
75
  include Factories
76
76
  include IntegrationTest::Configuration
77
+ include IntegrationTest::Locales
77
78
 
78
79
  driven_by :headless_chrome
79
80
 
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.22
4
+ version: 3.5.23
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-11-03 00:00:00.000000000 Z
11
+ date: 2020-11-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.22
19
+ version: 3.5.23
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.22
26
+ version: 3.5.23
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: capybara
29
29
  requirement: !ruby/object:Gem::Requirement