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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-02 12:08:14 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-02 12:08:14 +0300
commitade18c9d68d5a2e6c6e28ef7e9d3add3b3491ace (patch)
treecf4154332fc95283f58cccb1383e43b40485d91d /spec/controllers
parentba836d98593d68d8d6c22c540e31c8031a786bd8 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers')
-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