diff options
Diffstat (limited to 'spec/factories/environments.rb')
-rw-r--r-- | spec/factories/environments.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/environments.rb b/spec/factories/environments.rb index 0a9255e1abe..ccd2011eb8d 100644 --- a/spec/factories/environments.rb +++ b/spec/factories/environments.rb @@ -46,7 +46,7 @@ FactoryBot.define do after(:create) do |environment, evaluator| pipeline = create(:ci_pipeline, project: environment.project) - deployable = create(:ci_build, name: "#{environment.name}:deploy", + deployable = create(:ci_build, :success, name: "#{environment.name}:deploy", pipeline: pipeline) deployment = create(:deployment, |