summaryrefslogtreecommitdiff
path: root/spec/serializers/environment_serializer_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-03-28 15:08:36 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-28 15:08:36 +0000
commitee7db70e1185876e97eca97ce8efabfc64c360b9 (patch)
tree4c09297635be43c0189a2a85dd2a38d5f72bc523 /spec/serializers/environment_serializer_spec.rb
parent3fa33c82f9c49f4b53ddcf017fe77f1bff48a460 (diff)
downloadgitlab-ce-ee7db70e1185876e97eca97ce8efabfc64c360b9.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers/environment_serializer_spec.rb')
-rw-r--r--spec/serializers/environment_serializer_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/serializers/environment_serializer_spec.rb b/spec/serializers/environment_serializer_spec.rb
index 01d1e47b5bb..c85727a08d8 100644
--- a/spec/serializers/environment_serializer_spec.rb
+++ b/spec/serializers/environment_serializer_spec.rb
@@ -262,8 +262,9 @@ RSpec.describe EnvironmentSerializer do
def create_environment_with_associations(project)
create(:environment, project: project).tap do |environment|
create(:ci_pipeline, project: project).tap do |pipeline|
- create(:ci_build, :manual, project: project, pipeline: pipeline, name: 'stop-action',
- environment: environment.name)
+ create(
+ :ci_build, :manual, project: project, pipeline: pipeline, name: 'stop-action', environment: environment.name
+ )
create(:ci_build, :scheduled, project: project, pipeline: pipeline,
environment: environment.name).tap do |scheduled_build|