diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-28 15:08:36 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-28 15:08:36 +0000 |
commit | ee7db70e1185876e97eca97ce8efabfc64c360b9 (patch) | |
tree | 4c09297635be43c0189a2a85dd2a38d5f72bc523 /spec/serializers/environment_serializer_spec.rb | |
parent | 3fa33c82f9c49f4b53ddcf017fe77f1bff48a460 (diff) | |
download | gitlab-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.rb | 5 |
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| |