summaryrefslogtreecommitdiff
path: root/spec/requests/api
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-10-31 09:38:24 +0000
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-10-31 09:38:24 +0000
commitaa75a755ee8767c66d16fe93a48dd3f9e24a4784 (patch)
treea42879302e0cfd0a109a2f8d032f5727b7de2a03 /spec/requests/api
parent5a699090cde818294fca93d2793dd6195c0a7c2d (diff)
parent20e04d9f398b1f4221fa9f5de529dea7c2f0f9c1 (diff)
downloadgitlab-ce-aa75a755ee8767c66d16fe93a48dd3f9e24a4784.tar.gz
Merge branch 'api-delete-branch-json' into 'master'
Api delete branch json Fixes gitlab/gitlabhq#1478 See merge request !1233
Diffstat (limited to 'spec/requests/api')
-rw-r--r--spec/requests/api/branches_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/api/branches_spec.rb b/spec/requests/api/branches_spec.rb
index 8834a6cfa83..b45572c39fd 100644
--- a/spec/requests/api/branches_spec.rb
+++ b/spec/requests/api/branches_spec.rb
@@ -146,6 +146,7 @@ describe API::API, api: true do
it "should remove branch" do
delete api("/projects/#{project.id}/repository/branches/#{branch_name}", user)
response.status.should == 200
+ json_response['branch_name'].should == branch_name
end
it 'should return 404 if branch not exists' do