You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously causing a segfault due to the spec being to large?? not sure..
describe '#attachment()'
it 'should set Content-Disposition to attachment'
get('/report', function(){
attachment()
return 'foo'
})
get('/report').headers['content-disposition'].should.eql 'attachment'
end
it 'should set attachment filename'
get('/report', function(){
attachment('report.pdf')
return 'foo'
})
get('/report').headers['content-disposition'].should.eql 'attachment; filename="report.pdf"'
end
end
The text was updated successfully, but these errors were encountered:
Previously causing a segfault due to the spec being to large?? not sure..
The text was updated successfully, but these errors were encountered: