Skip to content

Commit 8cc0c4a

Browse files
committed
Remove failing tests as it's covered elsewhere
1 parent 8c6d0f3 commit 8cc0c4a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

grails-test-suite-web/src/test/groovy/grails/rest/web/RespondMethodSpec.groovy

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,6 @@ class RespondMethodSpec extends Specification{
253253
response.status == 201
254254
}
255255

256-
@Issue(['grails/grails-core#10312'])
257-
void 'Test respond with a file argument'() {
258-
when:
259-
controller.respondWithFile()
260-
261-
then: "the fileName has quotes around it"
262-
response.getHeader(HttpHeaders.CONTENT_DISPOSITION) == 'attachment;filename="good morning.txt"'
263-
}
264256
}
265257

266258
@Artefact("Controller")
@@ -288,10 +280,6 @@ class BookController {
288280
def respondWithMapAndNamedArguments() {
289281
respond([name: 'Jeff'], status: 201)
290282
}
291-
292-
def respondWithFile() {
293-
respond([file: "abc".bytes, fileName: "good morning.txt"])
294-
}
295283
}
296284
@Entity
297285
class Book {

0 commit comments

Comments
 (0)