summaryrefslogtreecommitdiff
path: root/spec/services/projects/hashed_storage/migrate_attachments_service_spec.rb
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2017-11-24 09:59:21 +0100
committerGabriel Mazetto <brodock@gmail.com>2017-11-28 11:22:23 +0100
commit58f32622ce9c2d08001da7b91065942cdc5a0f4a (patch)
tree8a476daa179fa9eb9e0839f886714d74c91c5cec /spec/services/projects/hashed_storage/migrate_attachments_service_spec.rb
parentdc62441ffd47d63f342c6accbd5049f6e8f99303 (diff)
downloadgitlab-ce-58f32622ce9c2d08001da7b91065942cdc5a0f4a.tar.gz
Changes to Attachments Migration for EE and Geo compatibility
Diffstat (limited to 'spec/services/projects/hashed_storage/migrate_attachments_service_spec.rb')
-rw-r--r--spec/services/projects/hashed_storage/migrate_attachments_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/projects/hashed_storage/migrate_attachments_service_spec.rb b/spec/services/projects/hashed_storage/migrate_attachments_service_spec.rb
index de2abfc1985..50e59954f73 100644
--- a/spec/services/projects/hashed_storage/migrate_attachments_service_spec.rb
+++ b/spec/services/projects/hashed_storage/migrate_attachments_service_spec.rb
@@ -58,6 +58,6 @@ describe Projects::HashedStorage::MigrateAttachmentsService do
end
def base_path(storage)
- File.join(CarrierWave.root, FileUploader.base_dir, storage.disk_path)
+ FileUploader.dynamic_path_builder(storage.disk_path)
end
end