summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-09-17 19:05:58 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2021-09-17 19:05:58 -0700
commit067aa3e69154922da54a485499bc4ff55f53dd46 (patch)
tree278e73332484b2ad3b8c5fd599680a4b2ba5d069
parentbc5469bfe0e84b3c8195f6265686738ee5059d71 (diff)
downloadchef-lcg/compliance-segment.tar.gz
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--spec/unit/compliance/input_spec.rb4
-rw-r--r--spec/unit/compliance/waiver_spec.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/compliance/input_spec.rb b/spec/unit/compliance/input_spec.rb
index 1826a7501c..67c5e071e0 100644
--- a/spec/unit/compliance/input_spec.rb
+++ b/spec/unit/compliance/input_spec.rb
@@ -64,8 +64,8 @@ describe Chef::Compliance::Input do
expect(input.enabled?).to eql(false)
end
- it "has a #for_inspec method that renders the path" do
- expect(input.for_inspec).to eql(path)
+ it "has a #for_inspec method that renders the data" do
+ expect(input.for_inspec).to eql(data)
end
it "doesn't render the events in the inspect output" do
diff --git a/spec/unit/compliance/waiver_spec.rb b/spec/unit/compliance/waiver_spec.rb
index b079f7e231..bbd2365fe1 100644
--- a/spec/unit/compliance/waiver_spec.rb
+++ b/spec/unit/compliance/waiver_spec.rb
@@ -64,8 +64,8 @@ describe Chef::Compliance::Waiver do
expect(waiver.enabled?).to eql(false)
end
- it "has a #for_inspec method that renders the path" do
- expect(waiver.for_inspec).to eql(path)
+ it "has a #for_inspec method that renders the data" do
+ expect(waiver.for_inspec).to eql(data)
end
it "doesn't render the events in the inspect output" do