Skip to content

Commit

Permalink
fix failing functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher committed Sep 4, 2015
1 parent f92cc64 commit 3b5dfe9
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ class InterceptorUnitTestMixin extends ControllerUnitTestMixin {
} else {
info = new ForwardUrlMappingInfo(arguments)
request.setAttribute(UrlMappingsHandlerMapping.MATCHED_REQUEST, info)
for(name in request.attributeNames.findAll() { String n -> n.endsWith(InterceptorArtefactHandler.MATCH_SUFFIX)}) {
request.removeAttribute(name)
}
}

for(name in request.attributeNames.findAll() { String n -> n.endsWith(InterceptorArtefactHandler.MATCH_SUFFIX)}) {
request.removeAttribute(name)
}
info
}
Expand Down

0 comments on commit 3b5dfe9

Please sign in to comment.