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:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-16 06:06:12 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-16 06:06:12 +0300
commitf155cc9034f2247c5d368f9b0212ad44248b0c5e (patch)
tree902480293b665d74a337aeae6a0521104f561988 /spec/factories/uploads.rb
parentc920712fab6abdc37de9444e6bbcd170c295b21a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/uploads.rb')
-rw-r--r--spec/factories/uploads.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/uploads.rb b/spec/factories/uploads.rb
index ef464d3d6e0..a060cd7d6f8 100644
--- a/spec/factories/uploads.rb
+++ b/spec/factories/uploads.rb
@@ -15,7 +15,7 @@ FactoryBot.define do
end
path do
- uploader_instance = Object.const_get(uploader.to_s).new(model, mount_point)
+ uploader_instance = Object.const_get(uploader.to_s, false).new(model, mount_point)
File.join(uploader_instance.store_dir, filename)
end