alinta-testing 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: feebb6c16db2d11df8f7de975aaaa4edb26914818dfa410e77d23ef0f8591adb
4
- data.tar.gz: 66923d3ce9ece0ee4eee0dbd0d2ec407dcb621dbc25a5185b1bc777bd720c967
3
+ metadata.gz: 2e9ae525ef2563cad5c48c3dd07be6d9fb2dcbc256a1a3230983c5813ae2676f
4
+ data.tar.gz: c4bbd4b0e9f9a7e7622dce9b4b99a55726ae7a607498f29af33d2d81f239b8ea
5
5
  SHA512:
6
- metadata.gz: 3126bb0724988236c36966b3e9f2c270d23e73f1104f2d9e5547af2eed677b77b2f23e20b368fda83750ce828268061bfb625d441d0c57d5010d476b2fad6ab7
7
- data.tar.gz: ef561f306e970356430bc4ec40679e334d867c6f839fe51f999d0fc0c83972aa5d5fb89d43991fc637bd4b1e34c8cf254ec4bc31f732543160341e4e49420725
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
 
@@ -1,3 +1,3 @@
1
1
  module AlintaTesting
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
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.1
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-07-23 00:00:00.000000000 Z
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