summaryrefslogtreecommitdiff
path: root/spec/factories/deployments.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-09 09:42:09 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-09 09:42:09 +0100
commitf7ef7bea11012bef6d373ce3b3c43fac08b047fd (patch)
treee99ead5b9b7fd34477d29ef0d4792bd8e4e27689 /spec/factories/deployments.rb
parent04a8372cdfff501fe67c17612a0b5e098f7d56c9 (diff)
downloadgitlab-ce-f7ef7bea11012bef6d373ce3b3c43fac08b047fd.tar.gz
Add environment factory review app trait
Diffstat (limited to 'spec/factories/deployments.rb')
-rw-r--r--spec/factories/deployments.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/factories/deployments.rb b/spec/factories/deployments.rb
index 6f24bf58d14..29ad1af9fd9 100644
--- a/spec/factories/deployments.rb
+++ b/spec/factories/deployments.rb
@@ -3,8 +3,9 @@ FactoryGirl.define do
sha '97de212e80737a608d939f648d959671fb0a0142'
ref 'master'
tag false
+ user
project nil
-
+ deployable factory: :ci_build
environment factory: :environment
after(:build) do |deployment, evaluator|