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:
authorRobert Speicher <rspeicher@gmail.com>2018-06-06 00:18:06 +0300
committerRobert Speicher <rspeicher@gmail.com>2018-06-07 17:54:41 +0300
commit6d165c740cecf6aff4c7ec0bbb962e7964c15f1b (patch)
tree69df90ce77be1a6c679275f4fef7af5efba91095 /spec/factories/lfs_objects.rb
parent0b4312c676ec5d7d07cf866a80dda5da2dbe1b9e (diff)
Make all uses of `fixture_file_upload` use relative paths
Diffstat (limited to 'spec/factories/lfs_objects.rb')
-rw-r--r--spec/factories/lfs_objects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/lfs_objects.rb b/spec/factories/lfs_objects.rb
index eaf3a4ed497..c909471bb55 100644
--- a/spec/factories/lfs_objects.rb
+++ b/spec/factories/lfs_objects.rb
@@ -7,7 +7,7 @@ FactoryBot.define do
end
trait :with_file do
- file { fixture_file_upload(Rails.root + "spec/fixtures/dk.png", "`/png") }
+ file { fixture_file_upload("spec/fixtures/dk.png", "`/png") }
end
# The uniqueness constraint means we can't use the correct OID for all LFS