Fix unit tests

Fixes #6172
This commit is contained in:
Suyog Rao 2016-11-02 10:10:28 -07:00
parent 32363fb561
commit 0b457996d0

View file

@ -353,8 +353,8 @@ describe LogStash::Runner do
context "if does not exist" do
let(:args) { ["--path.settings", "/tmp/a/a/a/a", "-e", "input {} output {}"] }
it "should terminate logstash" do
expect(subject.run(args)).to eq(1)
it "should not terminate logstash" do
expect(subject.run(args)).to eq(nil)
end
context "but if --help is passed" do