diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-09-01 16:01:26 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-05 08:30:28 +0300 |
commit | e8e8ae4d7df1de71d9f52e774607ac1ba4cce1cc (patch) | |
tree | 40e6b10f5f32558f714f93559334b9e7a0dd34e0 /spec/requests | |
parent | 68f6c61cf621db82ac98d561782590b1866fcf6f (diff) |
Fix spec
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/commit_statuses_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/commit_statuses_spec.rb b/spec/requests/api/commit_statuses_spec.rb index ed1962ede42..e4c73583545 100644 --- a/spec/requests/api/commit_statuses_spec.rb +++ b/spec/requests/api/commit_statuses_spec.rb @@ -143,7 +143,7 @@ describe API::CommitStatuses do expect(json_response['target_url']).to be_nil expect(json_response['description']).to be_nil if status == 'failed' - expect(json_response['failure_reason']).to eq('api_failure') + expect(CommitStatus.find(json_response['id'])).to be_api_failure end end end |