diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-22 11:01:11 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-03 17:49:10 +0300 |
commit | bbe967abeba7be1db79e34439e74cd113c240b52 (patch) | |
tree | b498f626149dc0e8ed541352fa9080e10a99fb34 /spec/factories/ci/builds.rb | |
parent | eda34b1a1846a5d5b55cc127a32b0c7628580f25 (diff) |
Add the rest of specs
Diffstat (limited to 'spec/factories/ci/builds.rb')
-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 |