-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
Description
Hi I have this piece of code in SampleController.groovy which downloads sample excel
def xls = new WebXlsxExporter(filePath).with {
response.setHeader "Content-disposition", "attachment; filename=samole.xlsx"
response.contentType = 'application/vnd.ms-excel'
LOG.info("sample Excel")
save(response.outputStream)
}
Its working normally. But when I do grails test-app I am getting error like
No signature of method: SampleController.save() is applicable for argument types: (org.springframework.mock.web.MockHttpServletResponse$ResponseServletOutputStream) values: [org.springframework.mock.web.MockHttpServletResponse$ResponseServletOutputStream@12b7c618]
I am using excel-export:0.2.1