From 9a0014ab925d2c17aa6fa905292d57c1d60b704c Mon Sep 17 00:00:00 2001 From: Sam Levenick Date: Sat, 5 Jan 2019 00:29:24 +0000 Subject: [PATCH] Remove extra braces from inspec ssl policy test Signed-off-by: Modular Magician --- docs/resources/google_compute_ssl_policies.md | 2 +- test/integration/verify/controls/google_compute_ssl_policies.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/resources/google_compute_ssl_policies.md b/docs/resources/google_compute_ssl_policies.md index a62c6828e..8e9ddb678 100644 --- a/docs/resources/google_compute_ssl_policies.md +++ b/docs/resources/google_compute_ssl_policies.md @@ -17,7 +17,7 @@ describe google_compute_ssl_policies(project: 'chef-gcp-inspec') do end google_compute_ssl_policies(project: 'chef-gcp-inspec').names.each do |policy_name| - describe google_compute_ssl_policy({project: 'chef-gcp-inspec', name: policy_name}) do + describe google_compute_ssl_policy(project: 'chef-gcp-inspec', name: policy_name) do its('min_tls_version') { should eq 'TLS_1_2' } end end diff --git a/test/integration/verify/controls/google_compute_ssl_policies.rb b/test/integration/verify/controls/google_compute_ssl_policies.rb index 98b6a61c9..c185a74cb 100644 --- a/test/integration/verify/controls/google_compute_ssl_policies.rb +++ b/test/integration/verify/controls/google_compute_ssl_policies.rb @@ -34,7 +34,7 @@ end google_compute_ssl_policies(project: gcp_project_id).names.each do |policy_name| - describe google_compute_ssl_policy({project: gcp_project_id, name: policy_name}) do + describe google_compute_ssl_policy(project: gcp_project_id, name: policy_name) do its('min_tls_version') { should eq ssl_policy['min_tls_version'] } end end