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
class ActionNameInterceptor {
boolean before() {
println "$controllerName $actionName $params"
if (actionName) {
request.setAttribute('actionNameSet', 'action name set')
}
return true
}
}
When running, the actionName is set, but when running tests, the actionName is not set.
See https://github.com/sbglasius/grailsInterceptorBugsinterceptorbug.ActionNameInterceptorSpec#Test interceptor actionName should be set to default index and interceptorbug.ActionNameInterceptorSpec#Test interceptor actionName should be set to specific name for tests
The text was updated successfully, but these errors were encountered:
With an interceptor like this:
When running, the
actionName
is set, but when running tests, theactionName
is not set.See https://github.com/sbglasius/grailsInterceptorBugs
interceptorbug.ActionNameInterceptorSpec#Test interceptor actionName should be set to default index
andinterceptorbug.ActionNameInterceptorSpec#Test interceptor actionName should be set to specific name
for testsThe text was updated successfully, but these errors were encountered: