summaryrefslogtreecommitdiff
path: root/kitchen-tests/test/integration/end-to-end/_chef_client_config.rb
blob: 7e0cc3fd15590ecf269cde21cbbda518d74c76ae (plain)
1
2
3
4
5
6
7
8
9
10
11
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"/) }
  its("content") { should match(/require 'aws-sdk'/) }
end