diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-08-14 11:40:10 +0200 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-08-16 15:17:16 +0200 |
commit | caaadb87b1825417065f843ae65b8afd9367310c (patch) | |
tree | b38d9d1002309163c625da58b2ddb953dd4c6005 /spec/services | |
parent | 00c474ae4efd296138598d9fb6609322beb43da9 (diff) | |
download | gitlab-ce-caaadb87b1825417065f843ae65b8afd9367310c.tar.gz |
Remove feature gates for Repository Languages
The repository languages feature got introduced through:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19480. This MR
included feature flags to guard against performance regressions, which
allowed GitLab to test it on gitlab.com before the customers would be
exposed.
.com worked out fine, as shown by our internal monitoring tools, which
prompts feature gate removal.
Given the docs weren't present yet, these were added too.
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/projects/detect_repository_languages_service_spec.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/services/projects/detect_repository_languages_service_spec.rb b/spec/services/projects/detect_repository_languages_service_spec.rb index f90d558938f..deea1189cdf 100644 --- a/spec/services/projects/detect_repository_languages_service_spec.rb +++ b/spec/services/projects/detect_repository_languages_service_spec.rb @@ -5,10 +5,6 @@ describe Projects::DetectRepositoryLanguagesService, :clean_gitlab_redis_shared_ subject { described_class.new(project, project.owner) } - before do - allow(Feature).to receive(:disabled?).and_return(false) - end - describe '#execute' do context 'without previous detection' do it 'inserts new programming languages in the database' do |