Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/create_environments_helpers.rb')
-rw-r--r--spec/support/helpers/create_environments_helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/helpers/create_environments_helpers.rb b/spec/support/helpers/create_environments_helpers.rb
index be105f5862b..361d365dc5b 100644
--- a/spec/support/helpers/create_environments_helpers.rb
+++ b/spec/support/helpers/create_environments_helpers.rb
@@ -7,7 +7,7 @@ module CreateEnvironmentsHelpers
start_review = create(:ci_build, :start_review_app, :success, **common, pipeline: pipeline)
stop_review = create(:ci_build, :stop_review_app, :manual, **common, pipeline: pipeline)
environment = create(:environment, :auto_stoppable, project: project, name: ref)
- create(:deployment, :success, **common, on_stop: stop_review.name,
- deployable: start_review, environment: environment)
+ create(:deployment, :success, **common,
+ on_stop: stop_review.name, deployable: start_review, environment: environment)
end
end