cucumber-ci-environment 8.0.0 → 8.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05b1fbe1d9ad4999ac7141330120cead66848d06b4897ecba69744073ffacdb7
|
4
|
+
data.tar.gz: 8730be1238d194789a7e8637498d4560880448b48894b0db9eca66e6ee8537a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b8c1277549217539a97e45138b0a7fa94d37d025f74bafe476b51cf9ca0c8aab5d26be211497f7f0bf07b08b46aa874583f55893fab0096653e92660419d6b6
|
7
|
+
data.tar.gz: f5153a06f6e2fde67fa16e1fa2f755494925395492efe59fba54b258ccffdfa9125d0bc52b6b424b21fd607d3e380399f344cc5a9cc8fdc17caca3d147b7e739
|
@@ -4,7 +4,7 @@ require 'cucumber/ci_environment'
|
|
4
4
|
require 'json'
|
5
5
|
|
6
6
|
describe 'detect_ci_environment' do
|
7
|
-
Dir.glob(
|
7
|
+
Dir.glob('../testdata/*.txt') do |test_data_file|
|
8
8
|
context "with #{File.basename(test_data_file, '.txt')}" do
|
9
9
|
subject { JSON.parse(ci_environment.to_json) }
|
10
10
|
|
@@ -18,4 +18,12 @@ describe 'detect_ci_environment' do
|
|
18
18
|
it { is_expected.to eq JSON.parse(expected_json) }
|
19
19
|
end
|
20
20
|
end
|
21
|
+
|
22
|
+
context 'with no CI environment' do
|
23
|
+
subject { JSON.parse(ci_environment.to_json) }
|
24
|
+
let(:ci_environment) { Cucumber::CiEnvironment.detect_ci_environment(env) }
|
25
|
+
let(:env) { {} }
|
26
|
+
|
27
|
+
it { is_expected.to be_nil }
|
28
|
+
end
|
21
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-ci-environment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.0.
|
4
|
+
version: 8.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vincent Prêtre
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -92,7 +92,7 @@ requirements: []
|
|
92
92
|
rubygems_version: 3.2.32
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
|
-
summary: cucumber-ci-environment-8.0.
|
95
|
+
summary: cucumber-ci-environment-8.0.1
|
96
96
|
test_files:
|
97
97
|
- spec/capture_warnings.rb
|
98
98
|
- spec/cucumber/ci_environment/ci_environment_spec.rb
|