diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-07-26 12:31:09 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-07-28 12:13:29 +0300 |
commit | 56418e85ac6b667d19495665860092ce4d74f55d (patch) | |
tree | 5741323fb221a1ccd30973fd399e50a47c94393c /spec/factories | |
parent | 190fae5f0cef11d68c7385be0c4013931796f958 (diff) |
init
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/pipeline_variable_variables.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/ci/pipeline_variable_variables.rb b/spec/factories/ci/pipeline_variable_variables.rb new file mode 100644 index 00000000000..7c1a7faec08 --- /dev/null +++ b/spec/factories/ci/pipeline_variable_variables.rb @@ -0,0 +1,8 @@ +FactoryGirl.define do + factory :ci_pipeline_variable, class: Ci::PipelineVariable do + sequence(:key) { |n| "VARIABLE_#{n}" } + value 'VARIABLE_VALUE' + + pipeline factory: :ci_empty_pipeline + end +end |