diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-06-06 00:18:06 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-06-07 17:54:41 +0300 |
commit | 6d165c740cecf6aff4c7ec0bbb962e7964c15f1b (patch) | |
tree | 69df90ce77be1a6c679275f4fef7af5efba91095 /spec/uploaders/file_mover_spec.rb | |
parent | 0b4312c676ec5d7d07cf866a80dda5da2dbe1b9e (diff) |
Make all uses of `fixture_file_upload` use relative paths
Diffstat (limited to 'spec/uploaders/file_mover_spec.rb')
-rw-r--r-- | spec/uploaders/file_mover_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/uploaders/file_mover_spec.rb b/spec/uploaders/file_mover_spec.rb index 68b7e24776d..de29d0c943f 100644 --- a/spec/uploaders/file_mover_spec.rb +++ b/spec/uploaders/file_mover_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' describe FileMover do let(:filename) { 'banana_sample.gif' } - let(:file) { fixture_file_upload(Rails.root.join('spec', 'fixtures', filename)) } + let(:file) { fixture_file_upload(File.join('spec', 'fixtures', filename)) } let(:temp_file_path) { File.join('uploads/-/system/temp', 'secret55', filename) } let(:temp_description) do |