expect(json_response['message']).toeql('Your push has been rejected, because this repository has exceeded its size limit of 99 MB by 1 MB. Please contact your GitLab administrator for more information.')
expect(json_response['message']).toeql('Your push has been rejected, because this repository has exceeded its size limit of 300 MB by 50 MB. Please contact your GitLab administrator for more information.')
end
end
end
end
describe'when request is authenticated'do
describe'when request is authenticated'do
...
@@ -1049,20 +1021,6 @@ describe 'Git LFS API and storage' do
...
@@ -1049,20 +1021,6 @@ describe 'Git LFS API and storage' do
end
end
end
end
context'and project has limit enabled but will stay under the limit'do