diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-09-17 19:05:58 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-09-17 19:05:58 -0700 |
commit | 067aa3e69154922da54a485499bc4ff55f53dd46 (patch) | |
tree | 278e73332484b2ad3b8c5fd599680a4b2ba5d069 | |
parent | bc5469bfe0e84b3c8195f6265686738ee5059d71 (diff) | |
download | chef-067aa3e69154922da54a485499bc4ff55f53dd46.tar.gz |
Fix unit specslcg/compliance-segment
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/unit/compliance/input_spec.rb | 4 | ||||
-rw-r--r-- | spec/unit/compliance/waiver_spec.rb | 4 |
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 |