diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-02-08 17:11:43 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-02-08 17:11:43 +0000 |
commit | 5edd94ae75c103d468b8b307e37321b92bde6080 (patch) | |
tree | bd9e7e393c028d35bd63292299a03a1ea4270b4d /spec/factories/projects.rb | |
parent | 5708241b5718e687c2d6e6626689ecaf5c4fb427 (diff) | |
parent | 6b0c6e69e1b249f14624550fcbca7f5ee6f51410 (diff) | |
download | gitlab-ce-5edd94ae75c103d468b8b307e37321b92bde6080.tar.gz |
Merge branch '40744-hashed-storage-specs' into 'master'
Use hashed storage in the specs
Closes #40744
See merge request gitlab-org/gitlab-ce!15681
Diffstat (limited to 'spec/factories/projects.rb')
-rw-r--r-- | spec/factories/projects.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb index f92b307fee4..1761b6e2a3b 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 |