diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-18 22:41:45 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-18 22:41:45 +0300 |
commit | bf41ab2640d215dccd890cc9ba3dd4f3f72cf84a (patch) | |
tree | 2837bea8a6ae93267548dc99e26e49eeede6af27 /spec/requests | |
parent | e0f90fb2dee39a6d7f2ecea7de43466bf9ac25ad (diff) |
Add specs that target status failure
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/commits_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/commits_spec.rb b/spec/requests/api/commits_spec.rb index 5b3dc60aba2..10f772c5b1a 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 be_nil + expect(json_response['status']).to eq("created") end end |