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 +4 -4
- data/lib/cucumber-rest-bdd/steps/auth.rb +4 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de06d1274be3181813ecac8a6a5484e0093a8d19
|
4
|
+
data.tar.gz: f894522b5c21927e4174895fe8d5ba72b2d44e40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
|