diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-10-12 20:16:24 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-10-12 20:27:54 -0700 |
commit | fbde8dc0c3da8ae96e1cda3d36338779dff65ff1 (patch) | |
tree | 69fd9caae9d2a2a3fcf396d28a4d7bd51f466002 /kitchen-tests | |
parent | e1361a5fcfd85871567723587897f11574ffa4cf (diff) | |
download | chef-fbde8dc0c3da8ae96e1cda3d36338779dff65ff1.tar.gz |
Add InSpec test
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/test/integration/end-to-end/default_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kitchen-tests/test/integration/end-to-end/default_spec.rb b/kitchen-tests/test/integration/end-to-end/default_spec.rb new file mode 100644 index 0000000000..a3f60273ad --- /dev/null +++ b/kitchen-tests/test/integration/end-to-end/default_spec.rb @@ -0,0 +1,10 @@ +client_rb = if os.windows? + 'C:\chef\client.rb' + else + "/etc/chef/client.rb" + end + +describe file(client_rb) do + its("content") { should match(%r{chef_server_url = "https://localhost"}) } + its("content") { should match(/chef_license = "accept"/) } +end |