diff options
| author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-01 15:11:22 +0000 |
|---|---|---|
| committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-01 15:11:22 +0000 |
| commit | eac94e5cd6a59aad41ff1f86ed7cc892898d8516 (patch) | |
| tree | 0fb81af921599437d44d6ad9b776892b74ae74c1 /spec/features/projects/pipelines | |
| parent | 3a5bee787984a139396c64372b6e14c4cb26efc1 (diff) | |
| download | gitlab-ce-eac94e5cd6a59aad41ff1f86ed7cc892898d8516.tar.gz | |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/pipelines')
| -rw-r--r-- | spec/features/projects/pipelines/legacy_pipeline_spec.rb | 7 | ||||
| -rw-r--r-- | spec/features/projects/pipelines/pipeline_spec.rb | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/spec/features/projects/pipelines/legacy_pipeline_spec.rb b/spec/features/projects/pipelines/legacy_pipeline_spec.rb index d93c951791d..c4fc194f0cd 100644 --- a/spec/features/projects/pipelines/legacy_pipeline_spec.rb +++ b/spec/features/projects/pipelines/legacy_pipeline_spec.rb @@ -726,12 +726,7 @@ RSpec.describe 'Pipeline', :js do before do schedule.owner.block! - - begin - PipelineScheduleWorker.new.perform - rescue Ci::CreatePipelineService::CreateError - # Do nothing, assert view code after the Pipeline failed to create. - end + PipelineScheduleWorker.new.perform end it 'displays the PipelineSchedule in an inactive state' do diff --git a/spec/features/projects/pipelines/pipeline_spec.rb b/spec/features/projects/pipelines/pipeline_spec.rb index 9a99f16b669..66916aea8d7 100644 --- a/spec/features/projects/pipelines/pipeline_spec.rb +++ b/spec/features/projects/pipelines/pipeline_spec.rb @@ -851,12 +851,7 @@ RSpec.describe 'Pipeline', :js do before do schedule.owner.block! - - begin - PipelineScheduleWorker.new.perform - rescue Ci::CreatePipelineService::CreateError - # Do nothing, assert view code after the Pipeline failed to create. - end + PipelineScheduleWorker.new.perform end it 'displays the PipelineSchedule in an inactive state' do |
