Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers/projects/blob_controller_spec.rb')
-rw-r--r--spec/controllers/projects/blob_controller_spec.rb26
1 files changed, 0 insertions, 26 deletions
diff --git a/spec/controllers/projects/blob_controller_spec.rb b/spec/controllers/projects/blob_controller_spec.rb
index 9fdaa728fd7..ad04c6e61e8 100644
--- a/spec/controllers/projects/blob_controller_spec.rb
+++ b/spec/controllers/projects/blob_controller_spec.rb
@@ -118,32 +118,6 @@ describe Projects::BlobController do
end
end
end
-
- context 'when there is an artifact with code navigation data' do
- let!(:pipeline) { create(:ci_pipeline, project: project, sha: project.commit.id) }
- let!(:job) { create(:ci_build, pipeline: pipeline, name: Ci::Build::CODE_NAVIGATION_JOB_NAME) }
- let!(:artifact) { create(:ci_job_artifact, :lsif, job: job) }
-
- let(:id) { 'master/README.md' }
-
- it 'assigns code_navigation_build variable' do
- request
-
- expect(assigns[:code_navigation_build]).to eq(job)
- end
-
- context 'when code_navigation feature is disabled' do
- before do
- stub_feature_flags(code_navigation: false)
- end
-
- it 'does not assign code_navigation_build variable' do
- request
-
- expect(assigns[:code_navigation_build]).to be_nil
- end
- end
- end
end
describe 'GET diff' do