diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-09-05 09:10:34 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-05 09:10:34 +0300 |
commit | 38d9b4d77d85e26f827ff9640243494adc8597ed (patch) | |
tree | 7052b5d25da7a793fe899967410f471d5e64f1ad /spec/models/commit_status_spec.rb | |
parent | 5d50cbfaab1d67ffaea6064aeac848f1fc1127a6 (diff) |
Use script_failure. Add runner_system_failure. Improve spec.
Diffstat (limited to 'spec/models/commit_status_spec.rb')
-rw-r--r-- | spec/models/commit_status_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/commit_status_spec.rb b/spec/models/commit_status_spec.rb index 0a6b0023dea..858ec831200 100644 --- a/spec/models/commit_status_spec.rb +++ b/spec/models/commit_status_spec.rb @@ -458,10 +458,10 @@ describe CommitStatus do it { is_expected.to be_unknown_failure } end - context 'when failure_reason is job_failure' do - let(:reason) { :job_failure } + context 'when failure_reason is script_failure' do + let(:reason) { :script_failure } - it { is_expected.to be_job_failure } + it { is_expected.to be_script_failure } end end end |