summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-09-14 01:25:26 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-09-14 01:25:26 +0800
commit50e62b3eb8ab030e123e990d1335f68478cc4a4b (patch)
treeb25b5c199d2df8a64f271000d57236eb687f86e3 /spec
parent05faeec708824bf97c3114b23235859663631b27 (diff)
downloadgitlab-ce-50e62b3eb8ab030e123e990d1335f68478cc4a4b.tar.gz
Fix Commit#status, feedback:fix-multiple-pipeline-events
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6305#note_15230024
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/api/commits_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/commits_spec.rb b/spec/requests/api/commits_spec.rb
index e24e92e063c..5b3dc60aba2 100644
--- a/spec/requests/api/commits_spec.rb
+++ b/spec/requests/api/commits_spec.rb
@@ -110,7 +110,7 @@ describe API::API, api: true do
get api("/projects/#{project.id}/repository/commits/#{project.repository.commit.id}", user)
expect(response).to have_http_status(200)
- expect(json_response['status']).to eq('created')
+ expect(json_response['status']).to be_nil
end
end