I have Tus wired in my app according to the Approach A: Downloading through tus server.
All is fine, except I am unable to directly assign a file to the uploader. I used to be able to do:
However with Tus, I am getting:
NoMethodError (undefined method `url' for #<File:0x00005646c3daccc0>)
Actual uploading of files work just fine, but I am struggling with setting up test data. I looked into Testing with Shrine (sorry can’t link here). But the method suggested for unit tests no longer works with Tus.
Am I doing something wrong? Is there a recommended approach for applications that rely on Tus?
Thank you very much in advance,