diff options
author | Rémy Coutable <remy@rymai.me> | 2018-06-11 13:54:25 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-06-11 13:54:25 +0200 |
commit | 0f90c1fd730663fea30bd4d6368adbfbe752e001 (patch) | |
tree | c06bf377d80f5b51d92cd4709e1741d0dd781e03 /spec/uploaders | |
parent | 4274aeefcbf04aa7b66b087c79232ff245d32157 (diff) | |
download | gitlab-ce-0f90c1fd730663fea30bd4d6368adbfbe752e001.tar.gz |
Don't use Rails.root.join for upload fixture paths
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/uploaders')
-rw-r--r-- | spec/uploaders/favicon_uploader_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/uploaders/favicon_uploader_spec.rb b/spec/uploaders/favicon_uploader_spec.rb index db8a3207f4d..37deea8ab90 100644 --- a/spec/uploaders/favicon_uploader_spec.rb +++ b/spec/uploaders/favicon_uploader_spec.rb @@ -10,7 +10,7 @@ RSpec.describe FaviconUploader do end def upload_fixture(filename) - fixture_file_upload(Rails.root.join('spec', 'fixtures', filename)) + fixture_file_upload("spec/fixtures/#{filename}") end context 'versions' do |