alinta-testing 0.3.2 → 0.3.3

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: 2e9ae525ef2563cad5c48c3dd07be6d9fb2dcbc256a1a3230983c5813ae2676f
4
- data.tar.gz: c4bbd4b0e9f9a7e7622dce9b4b99a55726ae7a607498f29af33d2d81f239b8ea
3
+ metadata.gz: 6893363de4ee55ad64f68ad9ae968f716aa19b0d1dffe170d3d1fe46e1d0ad2c
4
+ data.tar.gz: 6651854f1ea0427403f7989c3eefd05c664b7b98c7d6a71ecabb006545eba403
5
5
  SHA512:
6
- metadata.gz: c83ee701a5fe3908cf6800f157a5a2c5be0d03b79805d23948841353c778e249d4dcbb34d2de8c0e454f11bc485fd29f7891fd0b4ad9c1e98810f62f81946885
7
- data.tar.gz: 68a3160571ed1003656f0bd5d7e294790ea6283e377381a36895654593db8ea5c9d13f4fca57b0761221881b2584b30646d58b47058bd2595a7f702751fe12cc
6
+ metadata.gz: 57e4347c0d3235c7c801f3abd4cf7e0c8a4bc24c88921280780e052c240626a3390d6a1c58a796102470c5ef29045bb0341af560553ff42385371cb04cac5415
7
+ data.tar.gz: 02b71de443974da02b7fefee28f397d27fcbe59b4cc3904af9d8d1c540443d6a7f16747cbfbc6b601ce71fb72aba29e17cfded6ce757352fd032b6ef8e9c7474
@@ -30,14 +30,20 @@ end
30
30
 
31
31
  Given("I add the API Management key header") do
32
32
  if ENV['api_synthetic_requests'] != nil && ENV['api_synthetic_requests'] == "true"
33
- @api_synthetic_requests = "true"
34
- else
35
- @api_synthetic_requests = "false"
33
+ steps %Q{
34
+ I enable synthetic requests
35
+ }
36
36
  end
37
37
  steps %Q{
38
38
  And I add Headers:
39
39
  | Ocp-Apim-Subscription-Key | #{@apim_subscription_key} |
40
- | is-synthetic | #{@api_synthetic_requests} |
40
+ }
41
+ end
42
+
43
+ Given("I enable synthetic requests") do
44
+ steps %Q{
45
+ And I add Headers:
46
+ | is-synthetic | true |
41
47
  }
42
48
  end
43
49
 
@@ -1,3 +1,3 @@
1
1
  module AlintaTesting
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
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.2
4
+ version: 0.3.3
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-08-30 00:00:00.000000000 Z
11
+ date: 2018-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber-rest-bdd