Commit 7e9448b7 authored by Douwe Maan's avatar Douwe Maan

Remove duplicate spec

parent 8c5eff29
...@@ -181,12 +181,6 @@ describe API::Branches do ...@@ -181,12 +181,6 @@ describe API::Branches do
expect(json_response['can_push']).to eq(true) expect(json_response['can_push']).to eq(true)
end 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 context 'when branch contains a dot' do
let(:branch_name) { branch_with_dot.name } let(:branch_name) { branch_with_dot.name }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment