summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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