diff options
Diffstat (limited to 'spec/factories/ci/variables.rb')
-rw-r--r-- | spec/factories/ci/variables.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories/ci/variables.rb b/spec/factories/ci/variables.rb index 6653f0bb5c3..f83366136fd 100644 --- a/spec/factories/ci/variables.rb +++ b/spec/factories/ci/variables.rb @@ -2,5 +2,11 @@ FactoryGirl.define do factory :ci_variable, class: Ci::Variable do sequence(:key) { |n| "VARIABLE_#{n}" } value 'VARIABLE_VALUE' + + trait(:protected) do + protected true + end + + project factory: :empty_project end end |