diff options
Diffstat (limited to 'spec/factories/ci/group_variables.rb')
-rw-r--r-- | spec/factories/ci/group_variables.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/ci/group_variables.rb b/spec/factories/ci/group_variables.rb index d3b891eb1e3..44c0d10b3c1 100644 --- a/spec/factories/ci/group_variables.rb +++ b/spec/factories/ci/group_variables.rb @@ -5,11 +5,16 @@ FactoryBot.define do sequence(:key) { |n| "VARIABLE_#{n}" } value { 'VARIABLE_VALUE' } masked { false } + variable_type { :env_var } trait(:protected) do add_attribute(:protected) { true } end + trait(:file) do + variable_type { :file } + end + group factory: :group end end |