Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-12-01 16:58:49 +0300
committerNick Thomas <nick@gitlab.com>2018-02-07 16:40:46 +0300
commit6b0c6e69e1b249f14624550fcbca7f5ee6f51410 (patch)
tree0a724fbb80c728e64a4b445f1a798f035502dd9a /spec/factories
parentead97c55eac773444dee547a934112aa282c2e2e (diff)
Use hashed storage in the specs
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/projects.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb
index 20976977f21..b048e9361dc 100644
--- a/spec/factories/projects.rb
+++ b/spec/factories/projects.rb
@@ -81,8 +81,10 @@ FactoryBot.define do
archived true
end
- trait :hashed do
- storage_version Project::LATEST_STORAGE_VERSION
+ storage_version Project::LATEST_STORAGE_VERSION
+
+ trait :legacy_storage do
+ storage_version nil
end
trait :access_requestable do