diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-07-07 22:33:32 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-07-07 22:33:32 +0900 |
commit | e0c150da2f8f266cfa045e7ded0e579a83a964c3 (patch) | |
tree | 2f6b8e4975f29c6604f84ba526b063e1bf6977cc /spec/factories | |
parent | 45e516c9ff32bfe966b6334f66ea948465734deb (diff) | |
parent | 87d90b5b5e2fa6d0eed469db61878b942afdbee7 (diff) | |
download | gitlab-ce-e0c150da2f8f266cfa045e7ded0e579a83a964c3.tar.gz |
Merge from master(Fix conflicts)
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/group_variables.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/factories/ci/group_variables.rb b/spec/factories/ci/group_variables.rb new file mode 100644 index 00000000000..565ced9eb1a --- /dev/null +++ b/spec/factories/ci/group_variables.rb @@ -0,0 +1,12 @@ +FactoryGirl.define do + factory :ci_group_variable, class: Ci::GroupVariable do + sequence(:key) { |n| "VARIABLE_#{n}" } + value 'VARIABLE_VALUE' + + trait(:protected) do + protected true + end + + group factory: :group + end +end |