summaryrefslogtreecommitdiff
path: root/spec/factories/deployments.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/deployments.rb')
-rw-r--r--spec/factories/deployments.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/deployments.rb b/spec/factories/deployments.rb
index 2aab9764560..ab1b794632a 100644
--- a/spec/factories/deployments.rb
+++ b/spec/factories/deployments.rb
@@ -55,6 +55,10 @@ FactoryBot.define do
status { :created }
end
+ trait :blocked do
+ status { :blocked }
+ end
+
# This trait hooks the state maechine's events
trait :succeed do
after(:create) do |deployment, evaluator|