diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-12-11 12:26:30 -0800 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-12-11 12:44:08 -0800 |
commit | f920d6d951bd368b3b365c17114ac09f68925c17 (patch) | |
tree | 5e0845036f61dd4558567bcf837c22e0667b49b0 /spec | |
parent | ce2d4b36cc532732d2631c905f8c7206b496458c (diff) | |
download | chef-f920d6d951bd368b3b365c17114ac09f68925c17.tar.gz |
Remove gate on impossible case.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/compliance/runner_spec.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/unit/compliance/runner_spec.rb b/spec/unit/compliance/runner_spec.rb index fbd57f6be9..d9472e8b08 100644 --- a/spec/unit/compliance/runner_spec.rb +++ b/spec/unit/compliance/runner_spec.rb @@ -131,11 +131,6 @@ describe Chef::Compliance::Runner do expect(reporter).to be_kind_of(Chef::Compliance::Reporter::ChefServerAutomate) expect(reporter.url).to eq(URI("https://chef_config_url.example.com/organizations/my_org/data-collector")) end - - xit "returns nil with no 'server' attribute or chef_server_url configured" do - Chef::Config[:chef_server_url] = nil - expect(runner.reporter("chef-server-automate")).to be_nil - end end it "returns nil for unexpected reporter value" do |