summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-02-12 17:46:59 -0800
committerTim Smith <tsmith84@gmail.com>2020-02-12 19:29:44 -0800
commit19163410401c224dfaba82d288482528773f530e (patch)
tree38c7b4e7751ac361fef553af83d600ffc61a56eb /spec
parent60931752176e409b25e90d853376e5d8ee9d500f (diff)
downloadchef-19163410401c224dfaba82d288482528773f530e.tar.gz
Add a Kitchen Test for chef_vault_secret
Pulled from the cookbook. I also sprinkled some chef-utils usage on the existing test. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/resource/chef_vault_secret_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/chef_vault_secret_spec.rb b/spec/unit/resource/chef_vault_secret_spec.rb
index 5190785de7..79b3bf8996 100644
--- a/spec/unit/resource/chef_vault_secret_spec.rb
+++ b/spec/unit/resource/chef_vault_secret_spec.rb
@@ -29,7 +29,7 @@ describe Chef::Resource::ChefVaultSecret do
end
it "id is the name property" do
- expect(resource.id).to eql(foo)
+ expect(resource.id).to eql("foo")
end
it "supports :create, :create_if_missing, and :delete actions" do