cache_stored_file! not working with stub_request
Author: yk-etaCreated Jul 15, 2025Updated Sep 7, 2026
Labelsneeds info
the file in tmp directory is zero length with stub_request on rspec
ruby: 3.4.3 rails: 8.0.2 carrierwave: 3.1.2
Source: carrierwaveuploader/carrierwave