diff options
author | danielsdeleo <dan@chef.io> | 2016-10-28 13:49:46 -0700 |
---|---|---|
committer | danielsdeleo <dan@chef.io> | 2016-11-02 08:06:38 -0700 |
commit | c9739381fc9956b7e94b9687c14be6742afb3b93 (patch) | |
tree | 4e529d746af08ad4e09a3e280a98b5c56d620e96 /chef-config/spec | |
parent | 274fffd1a7f6a2e3e4b9867ac7481a686c9c7fc4 (diff) | |
download | chef-c9739381fc9956b7e94b9687c14be6742afb3b93.tar.gz |
Update default data collector URL to correct value
Additionally, add info and debug logging for the auto-detection of
whether to enable the data collector.
Signed-off-by: Daniel DeLeo <dan@chef.io>
Diffstat (limited to 'chef-config/spec')
-rw-r--r-- | chef-config/spec/unit/config_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/spec/unit/config_spec.rb b/chef-config/spec/unit/config_spec.rb index e15a5a6023..e6070adb5a 100644 --- a/chef-config/spec/unit/config_spec.rb +++ b/chef-config/spec/unit/config_spec.rb @@ -1133,7 +1133,7 @@ RSpec.describe ChefConfig::Config do it "configures the data collector URL as a relative path to the Chef Server URL" do ChefConfig::Config[:chef_server_url] = "https://chef.example/organizations/myorg" - expect(ChefConfig::Config[:data_collector][:server_url]).to eq("https://chef.example/organizations/myorg/data_collector") + expect(ChefConfig::Config[:data_collector][:server_url]).to eq("https://chef.example/organizations/myorg/data-collector") end |