663b410fd4
no issue - Source out validation logic into a upload validation middleware for all upload types (csv, image, subscribers). This unit can be later used for Ghost 1.0 as a pre validation core unit. - More usage of route tests than controller tests. These are use case tests, a use case only changes if the product changes
2 lines
38 B
JavaScript
2 lines
38 B
JavaScript
exports.upload = require('./upload');
|