summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-06 06:08:30 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-06 06:08:30 +0000
commitab128cc125f9db0c3a1bd48845f90c3d61ef42c9 (patch)
treec3a1fc2bc7a6109b35597fd6e7a0a11089af0ec4 /spec/factories
parenta6011c3d70e0e8ac318ba6629183c44f8614c4df (diff)
downloadgitlab-ce-ab128cc125f9db0c3a1bd48845f90c3d61ef42c9.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/deployments.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/deployments.rb b/spec/factories/deployments.rb
index f92e213a385..42046464213 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 factory: :ci_build
+ deployable { association :ci_build, environment: environment.name, project: environment.project }
environment factory: :environment
after(:build) do |deployment, evaluator|