Skip to content

Commit

Permalink
make the mock return exit_status 0
Browse files Browse the repository at this point in the history
...such that lib/kitchen/verifier/inspec.rb:57 doesn't fire
  • Loading branch information
srenatus committed Dec 7, 2015
1 parent 209d9d9 commit bb0dc5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/kitchen/verifier/inspec_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@

before do
allow(runner).to receive(:add_tests)
allow(runner).to receive(:run)
allow(runner).to receive(:run).and_return 0
end

it "constructs a Inspec::Runner using transport config data and state" do
Expand Down Expand Up @@ -207,7 +207,7 @@

before do
allow(runner).to receive(:add_tests)
allow(runner).to receive(:run)
allow(runner).to receive(:run).and_return 0
end

it "constructs a Inspec::Runner using transport config data and state" do
Expand Down

0 comments on commit bb0dc5d

Please sign in to comment.