diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-05-25 18:05:27 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-05-25 18:05:27 +0800 |
commit | 9f6dc8b2b5fe3d4790d67f13660eb8bfabd4dbca (patch) | |
tree | 7e42628528d55a4075bbc845f5ecfa282badfc19 /spec/factories | |
parent | 96956d47ef94dd69537105dfe67e3c5e74f3a1e6 (diff) | |
download | gitlab-ce-9f6dc8b2b5fe3d4790d67f13660eb8bfabd4dbca.tar.gz |
Add tests and also pass protected vars to protected tags
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/variables.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/ci/variables.rb b/spec/factories/ci/variables.rb index c5fba597c1c..f83366136fd 100644 --- a/spec/factories/ci/variables.rb +++ b/spec/factories/ci/variables.rb @@ -3,6 +3,10 @@ FactoryGirl.define do sequence(:key) { |n| "VARIABLE_#{n}" } value 'VARIABLE_VALUE' + trait(:protected) do + protected true + end + project factory: :empty_project end end |