Move language detection to mandatory

Closes https://gitlab.com/gitlab-org/gitaly/issues/732
Closes https://gitlab.com/gitlab-org/gitaly/issues/360
This commit is contained in:
Zeger-Jan van de Weg 2018-06-14 13:21:59 +02:00
parent 0f18d4896c
commit 9ae8b57467
No known key found for this signature in database
GPG Key ID: 65F6A8D64A88ABAC
1 changed files with 19 additions and 27 deletions

View File

@ -1688,7 +1688,6 @@ describe Gitlab::Git::Repository, seed_helper: true do
end
describe '#languages' do
shared_examples 'languages' do
it 'returns exactly the expected results' do
languages = repository.languages('4b4918a572fa86f9771e5ba40fbd48e1eb03e2c6')
expected_languages = [
@ -1719,13 +1718,6 @@ describe Gitlab::Git::Repository, seed_helper: true do
end
end
it_behaves_like 'languages'
context 'with rugged', :skip_gitaly_mock do
it_behaves_like 'languages'
end
end
describe '#license_short_name' do
shared_examples 'acquiring the Licensee license key' do
subject { repository.license_short_name }