diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-22 17:01:11 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-03 23:49:10 +0900 |
commit | bbe967abeba7be1db79e34439e74cd113c240b52 (patch) | |
tree | b498f626149dc0e8ed541352fa9080e10a99fb34 /spec/factories | |
parent | eda34b1a1846a5d5b55cc127a32b0c7628580f25 (diff) | |
download | gitlab-ce-bbe967abeba7be1db79e34439e74cd113c240b52.tar.gz |
Add the rest of specs
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/builds.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index 5bba1dec7db..f8922275860 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -226,5 +226,13 @@ FactoryGirl.define do status 'created' self.when 'manual' end + + trait(:protected) do + protected true + end + + trait(:unprotected) do + protected false + end end end |