From e9c5c45651d7f0755b88ada09ad228818d9fdd9b Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 18 Jan 2016 11:43:21 -0800 Subject: [PATCH] features: look for lack of "EXIT STATUS: 0" for non-zero exit status --- features/step_definitions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/step_definitions.rb b/features/step_definitions.rb index 7c9281f5..71a92aea 100644 --- a/features/step_definitions.rb +++ b/features/step_definitions.rb @@ -246,5 +246,5 @@ end # Then %r{^I should get a non-zero exit(?:\-| )status$} do - expect(jekyll_run_status.to_i).to be > 0 + expect(jekyll_run_status.to_i).not_to match(%r{EXIT STATUS: 0}) end