summaryrefslogtreecommitdiff
path: root/spec/factories/projects.rb
diff options
context:
space:
mode:
authorSemyon Pupkov <mail@semyonpupkov.com>2017-01-04 13:30:11 +0500
committerSemyon Pupkov <mail@semyonpupkov.com>2017-01-04 13:30:11 +0500
commite393151d76c5847de46e8d956e6c5947e321e156 (patch)
tree7caeb9fba4538fad20c10baa55cbf493a025eae5 /spec/factories/projects.rb
parent115aac77f614a9130aa9bc6ff48aed47339aebfc (diff)
downloadgitlab-ce-e393151d76c5847de46e8d956e6c5947e321e156.tar.gz
Move dashboard archived projects spinach tests to rspec
https://gitlab.com/gitlab-org/gitlab-ce/issues/23036
Diffstat (limited to 'spec/factories/projects.rb')
-rw-r--r--spec/factories/projects.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb
index f7fa834d7a2..1cdbe4fc9a5 100644
--- a/spec/factories/projects.rb
+++ b/spec/factories/projects.rb
@@ -24,6 +24,10 @@ FactoryGirl.define do
visibility_level Gitlab::VisibilityLevel::PRIVATE
end
+ trait :archived do
+ archived true
+ end
+
trait :access_requestable do
request_access_enabled true
end