fixed download test
This commit is contained in:
parent
e9405f49ee
commit
ae0758ac14
@ -163,7 +163,7 @@ describe('Server integration tests', function() {
|
|||||||
res.header['content-disposition'],
|
res.header['content-disposition'],
|
||||||
'attachment; filename=test_upload.txt'
|
'attachment; filename=test_upload.txt'
|
||||||
);
|
);
|
||||||
assert.equal(res.header['content-type'], 'text/plain');
|
assert.equal(res.header['content-type'], 'application/octet-stream');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user