summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/compliance/runner.rb2
-rw-r--r--spec/unit/compliance/runner_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/compliance/runner.rb b/lib/chef/compliance/runner.rb
index 0de8fd174e..978dc33b32 100644
--- a/lib/chef/compliance/runner.rb
+++ b/lib/chef/compliance/runner.rb
@@ -239,7 +239,7 @@ class Chef
when "audit-enforcer"
Chef::Compliance::Reporter::ComplianceEnforcer.new
else
- logger.warn "'#{reporter_type}' is not a supported #{Inspec::Dist::PRODUCT_NAME} report collector"
+ logger.warn "'#{reporter_type}' is not a supported reporter for Compliance Phase."
nil
end
end
diff --git a/spec/unit/compliance/runner_spec.rb b/spec/unit/compliance/runner_spec.rb
index d9472e8b08..e1ca1c5d3a 100644
--- a/spec/unit/compliance/runner_spec.rb
+++ b/spec/unit/compliance/runner_spec.rb
@@ -134,7 +134,7 @@ describe Chef::Compliance::Runner do
end
it "returns nil for unexpected reporter value" do
- expect(logger).to receive(:warn).with("'tacos' is not a supported Chef InSpec report collector")
+ expect(logger).to receive(:warn).with("'tacos' is not a supported reporter for Chef Infra Client's Compliance Phase")
expect(runner.reporter("tacos")).to be_nil
end