summaryrefslogtreecommitdiff
path: root/spec/uploaders/attachment_uploader_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/uploaders/attachment_uploader_spec.rb')
-rw-r--r--spec/uploaders/attachment_uploader_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/uploaders/attachment_uploader_spec.rb b/spec/uploaders/attachment_uploader_spec.rb
index d302c14efb9..a9415854d25 100644
--- a/spec/uploaders/attachment_uploader_spec.rb
+++ b/spec/uploaders/attachment_uploader_spec.rb
@@ -26,7 +26,7 @@ describe AttachmentUploader do
describe "#migrate!" do
before do
- uploader.store!(fixture_file_upload(Rails.root.join('spec/fixtures/doc_sample.txt')))
+ uploader.store!(fixture_file_upload(File.join('spec/fixtures/doc_sample.txt')))
stub_uploads_object_storage
end