diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-02 12:08:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-02 12:08:14 +0300 |
commit | ade18c9d68d5a2e6c6e28ef7e9d3add3b3491ace (patch) | |
tree | cf4154332fc95283f58cccb1383e43b40485d91d /spec/controllers | |
parent | ba836d98593d68d8d6c22c540e31c8031a786bd8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects/blob_controller_spec.rb | 26 |
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 |