diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-06-28 18:52:09 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-06-28 18:52:09 +0900 |
commit | c59332245fc6d688671f63fe748365d792d03994 (patch) | |
tree | b85aa44027e772e6e2ac75d82d8559cbe87b52b1 | |
parent | fbedecf3a9024330afda62a37c7af78b59a863e8 (diff) | |
download | gitlab-ce-c59332245fc6d688671f63fe748365d792d03994.tar.gz |
Add missing file
-rw-r--r-- | spec/factories/ci/project_variables.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/factories/ci/project_variables.rb b/spec/factories/ci/project_variables.rb new file mode 100644 index 00000000000..b5bd11a0994 --- /dev/null +++ b/spec/factories/ci/project_variables.rb @@ -0,0 +1,11 @@ +FactoryGirl.define do + factory :ci_project_variable, class: Ci::ProjectVariable do + sequence(:key) { |n| "VARIABLE_#{n}" } + value 'VARIABLE_VALUE' + project factory: :empty_project + + trait(:protected) do + protected true + end + end +end |