mirror of
https://github.com/inspec/inspec
synced 2024-11-26 22:50:36 +00:00
Fixed runner tests for windows.
Passes on my side and only fails on buildkite's windows. I have no idea why / how it differs. This should be neutral enough that it works on both. Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
fe3fc3ffbf
commit
e54f0b3646
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ describe Inspec::Runner do
|
||||||
it "bug #4524" do
|
it "bug #4524" do
|
||||||
file = <<-RUBY
|
file = <<-RUBY
|
||||||
describe "a thing" do
|
describe "a thing" do
|
||||||
before(:all) { command("true") }
|
before(:all) { os }
|
||||||
it("should pass") {}
|
it("should pass") {}
|
||||||
end
|
end
|
||||||
RUBY
|
RUBY
|
||||||
|
@ -26,8 +26,8 @@ describe Inspec::Runner do
|
||||||
it "bug #4587" do
|
it "bug #4587" do
|
||||||
file = <<-RUBY
|
file = <<-RUBY
|
||||||
describe "a thing" do
|
describe "a thing" do
|
||||||
subject! { command("true") }
|
subject! { os }
|
||||||
its("exit_status") { should eq 0 }
|
its("family") { should_not eq 42 }
|
||||||
end
|
end
|
||||||
RUBY
|
RUBY
|
||||||
runner.add_target("bug4587.rb" => file)
|
runner.add_target("bug4587.rb" => file)
|
||||||
|
|
Loading…
Reference in a new issue