diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-27 12:06:30 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-27 12:06:30 +0000 |
commit | 3269a20692c5b1f32862072d7897a4e753bae9ef (patch) | |
tree | 9dfc6e7ccb857b323dc8b12259d339b76b8b90bf /spec/features | |
parent | c02f53288a838166a28518983fae3b80ca5936d8 (diff) | |
download | gitlab-ce-3269a20692c5b1f32862072d7897a4e753bae9ef.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/projects/badges/pipeline_badge_spec.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/features/projects/badges/pipeline_badge_spec.rb b/spec/features/projects/badges/pipeline_badge_spec.rb index af936c80886..5ddaf1e1591 100644 --- a/spec/features/projects/badges/pipeline_badge_spec.rb +++ b/spec/features/projects/badges/pipeline_badge_spec.rb @@ -6,17 +6,6 @@ describe 'Pipeline Badge' do set(:project) { create(:project, :repository, :public) } let(:ref) { project.default_branch } - # this can't be tested in the controller, as it bypasses the rails router - # and constructs a route based on the controller being tested - # Keep around until 10.0, see gitlab-org/gitlab-ce#35307 - context 'when the deprecated badge is requested' do - it 'displays the badge' do - visit build_project_badges_path(project, ref: ref, format: :svg) - - expect(page.status_code).to eq(200) - end - end - context 'when the project has a pipeline' do let!(:pipeline) { create(:ci_empty_pipeline, project: project, ref: ref, sha: project.commit(ref).sha) } let!(:job) { create(:ci_build, pipeline: pipeline) } |