features: look for lack of "EXIT STATUS: 0" for non-zero exit status

This commit is contained in:
Parker Moore 2016-01-18 11:43:21 -08:00
parent 2adb70a247
commit e9c5c45651
1 changed files with 1 additions and 1 deletions

View File

@ -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