Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2-RC1
-
Fix Version/s: 1.2 final
-
Component/s: None
-
Labels:None
Description
GrailsTestTransactionInterceptor and GrailsTestRequestEnvironmentInterceptor only support Closure based usage.
It's conceivable that these handy classes will need to be used via an init/destroy style usage pattern (e.g. PersistenceContextInterceptor)
Fixed in http://github.com/grails/grails/commit/e1b342512d18a80e150ea6a7adfdc36f3af0068a