diff options
Diffstat (limited to 'spec/factories/deployments.rb')
-rw-r--r-- | spec/factories/deployments.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/deployments.rb b/spec/factories/deployments.rb index 42046464213..2aab9764560 100644 --- a/spec/factories/deployments.rb +++ b/spec/factories/deployments.rb @@ -7,7 +7,7 @@ FactoryBot.define do tag { false } user { nil } project { nil } - deployable { association :ci_build, environment: environment.name, project: environment.project } + deployable { association :ci_build, environment: environment.name, pipeline: association(:ci_pipeline, project: environment.project) } environment factory: :environment after(:build) do |deployment, evaluator| |