alinta-cucumber-rest-bdd 0.5.11 → 0.5.12

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
  SHA1:
3
- metadata.gz: 1569aaf64a55d2f72df804c0fbc2dff157028a2b
4
- data.tar.gz: '034494094425fc8a7f5560b5ae1a7be98c5f59b2'
3
+ metadata.gz: de06d1274be3181813ecac8a6a5484e0093a8d19
4
+ data.tar.gz: f894522b5c21927e4174895fe8d5ba72b2d44e40
5
5
  SHA512:
6
- metadata.gz: c7fda30643c7b4d29c0d710bd7c338e130b4e8f7307371b621d1b34af35ba939e6f6655c673358b7fb09ef7533fea0a0e9f6a3bd5c5c1500317e81186952f64a
7
- data.tar.gz: 0cfa7650881740db37f9717cfd450a0375f3b5d4b1015e2841794f062e66496f5c9d61ac9f022ffcae1c74b613e43ee68522f6b3948cf6df6a29f523c58323a0
6
+ metadata.gz: f122fa70bd1c5f1e257a3300fd2418eb966e08e393a1aead8c7e34cd5503a52e3a776501ffb3185507c1e1f7b893d27946094c1cdca36d773aa25f252fd8b102
7
+ data.tar.gz: cf7da774081ce9ad5bfecf9e543fa16d3348fb0f1a9c6d4467368461efd5f0b491b147b83e98a04d243caa439370d323db36189e5e5b090a402edbed56d5ebc2
@@ -1,13 +1,9 @@
1
1
  Given(/^I retrieve the API Management subscription key secret "(.*?)" from Azure Storage Vault "(.*?)" using tenant "(.*?)" with credentials "(.*?)" and "(.*?)"$/) do |secret_name, vault_name, tenant_id, client_id, client_secret|
2
2
  if @apim_subscription_key.to_s.empty?
3
- @apim_subscription_key = ENV['apim_subscription_key']
4
-
5
- if @apim_subscription_key.to_s.empty?
6
- steps %Q{
7
- Given I retrieve the secret "#{secret_name}" from Azure Storage Vault "#{vault_name}" using tenant "#{tenant_id}" with credentials "#{client_id}" and "#{client_secret}"
8
- }
9
- @apim_subscription_key = @response.get_as_type "$..value", "string"
10
- end
3
+ steps %Q{
4
+ Given I retrieve the secret "#{secret_name}" from Azure Storage Vault "#{vault_name}" using tenant "#{tenant_id}" with credentials "#{client_id}" and "#{client_secret}"
5
+ }
6
+ @apim_subscription_key = @response.get_as_type "$..value", "string"
11
7
  end
12
8
  end
13
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alinta-cucumber-rest-bdd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harry Bragg