diff options
Diffstat (limited to 'spec/lib/gitlab/popen/runner_spec.rb')
-rw-r--r-- | spec/lib/gitlab/popen/runner_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/popen/runner_spec.rb b/spec/lib/gitlab/popen/runner_spec.rb index 5f72852c63e..c7b64e8108b 100644 --- a/spec/lib/gitlab/popen/runner_spec.rb +++ b/spec/lib/gitlab/popen/runner_spec.rb @@ -118,7 +118,7 @@ RSpec.describe Gitlab::Popen::Runner do stdout: 'stdout', stderr: '', exitstatus: 0, - status: double(exitstatus: exitstatus, success?: exitstatus.zero?), + status: double(exitstatus: exitstatus, success?: exitstatus == 0), duration: 0.1) result = |