diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-06-26 12:27:32 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-06-26 12:27:32 +0300 |
commit | 7e9448b747aa0be4ff3ea8446f50486501ded044 (patch) | |
tree | 6062c910b2287cd766956fdee877dbcaeb8bbcc0 /spec/requests/api/branches_spec.rb | |
parent | 8c5eff29de2c6204deeb327594af1a936b2d9f7e (diff) |
Remove duplicate spec
Diffstat (limited to 'spec/requests/api/branches_spec.rb')
-rw-r--r-- | spec/requests/api/branches_spec.rb | 6 |
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 } |