summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-06-26 09:27:32 +0000
committerDouwe Maan <douwe@gitlab.com>2018-06-26 09:27:32 +0000
commit7e9448b747aa0be4ff3ea8446f50486501ded044 (patch)
tree6062c910b2287cd766956fdee877dbcaeb8bbcc0 /spec/requests
parent8c5eff29de2c6204deeb327594af1a936b2d9f7e (diff)
downloadgitlab-ce-7e9448b747aa0be4ff3ea8446f50486501ded044.tar.gz
Remove duplicate spec
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/api/branches_spec.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/requests/api/branches_spec.rb b/spec/requests/api/branches_spec.rb
index 0c417baeb77..9bb6ed62393 100644
--- a/spec/requests/api/branches_spec.rb
+++ b/spec/requests/api/branches_spec.rb
@@ -181,12 +181,6 @@ describe API::Branches do
expect(json_response['can_push']).to eq(true)
end
- it 'returns that the current user can push' do
- get api(route, current_user)
-
- expect(json_response['can_push']).to eq(true)
- end
-
context 'when branch contains a dot' do
let(:branch_name) { branch_with_dot.name }