diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-17 14:33:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-17 14:33:21 +0300 |
commit | 7021455bd1ed7b125c55eb1b33c5a01f2bc55ee0 (patch) | |
tree | 5bdc2229f5198d516781f8d24eace62fc7e589e9 /spec/serializers/pipeline_serializer_spec.rb | |
parent | 185b095e93520f96e9cfc31d9c3e69b498cdab7c (diff) |
Add latest changes from gitlab-org/gitlab@15-6-stable-eev15.6.0-rc42
Diffstat (limited to 'spec/serializers/pipeline_serializer_spec.rb')
-rw-r--r-- | spec/serializers/pipeline_serializer_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/serializers/pipeline_serializer_spec.rb b/spec/serializers/pipeline_serializer_spec.rb index 4d9bdc4bb17..9caaeb3450b 100644 --- a/spec/serializers/pipeline_serializer_spec.rb +++ b/spec/serializers/pipeline_serializer_spec.rb @@ -163,10 +163,8 @@ RSpec.describe PipelineSerializer do context 'with different refs' do before do - # rubocop:disable Rails/SkipsModelValidations Ci::Pipeline.update_all(%(ref = 'feature-' || id)) Ci::Build.update_all(%(ref = 'feature-' || stage_id)) - # rubocop:enable Rails/SkipsModelValidations end it 'verifies number of queries', :request_store do @@ -240,6 +238,7 @@ RSpec.describe PipelineSerializer do create(:ci_empty_pipeline, project: project, status: status, + name: 'Build pipeline', ref: 'feature').tap do |pipeline| Ci::Build::AVAILABLE_STATUSES.each do |build_status| create_build(pipeline, status, build_status) |