Open the incomplete download in append mode instead of write mode. Opening in write mode truncates the existing file, so curl keeps restarting downloads instead of resuming the incomplete downloads.
spec_helper
test/fixtures/cask
rubocop-cask