alinta-testing 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alinta-testing/steps/azure.rb +6 -0
- data/lib/alinta-testing/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e9ae525ef2563cad5c48c3dd07be6d9fb2dcbc256a1a3230983c5813ae2676f
|
4
|
+
data.tar.gz: c4bbd4b0e9f9a7e7622dce9b4b99a55726ae7a607498f29af33d2d81f239b8ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c83ee701a5fe3908cf6800f157a5a2c5be0d03b79805d23948841353c778e249d4dcbb34d2de8c0e454f11bc485fd29f7891fd0b4ad9c1e98810f62f81946885
|
7
|
+
data.tar.gz: 68a3160571ed1003656f0bd5d7e294790ea6283e377381a36895654593db8ea5c9d13f4fca57b0761221881b2584b30646d58b47058bd2595a7f702751fe12cc
|
@@ -29,9 +29,15 @@ Given("I retrieve the API Management subscription key secret {string} from Azure
|
|
29
29
|
end
|
30
30
|
|
31
31
|
Given("I add the API Management key header") do
|
32
|
+
if ENV['api_synthetic_requests'] != nil && ENV['api_synthetic_requests'] == "true"
|
33
|
+
@api_synthetic_requests = "true"
|
34
|
+
else
|
35
|
+
@api_synthetic_requests = "false"
|
36
|
+
end
|
32
37
|
steps %Q{
|
33
38
|
And I add Headers:
|
34
39
|
| Ocp-Apim-Subscription-Key | #{@apim_subscription_key} |
|
40
|
+
| is-synthetic | #{@api_synthetic_requests} |
|
35
41
|
}
|
36
42
|
end
|
37
43
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alinta-testing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Hosking
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber-rest-bdd
|