diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-16 06:06:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-16 06:06:12 +0300 |
commit | f155cc9034f2247c5d368f9b0212ad44248b0c5e (patch) | |
tree | 902480293b665d74a337aeae6a0521104f561988 /spec/factories/uploads.rb | |
parent | c920712fab6abdc37de9444e6bbcd170c295b21a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/uploads.rb')
-rw-r--r-- | spec/factories/uploads.rb | 2 |
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 |