Details
Description
In the current Testing Plugin (0.5) there is now support for mocking out the bindData() method on Controllers. The workaround this absence is to do something like this:
controller.metaClass.bindData = {target, params ->
params.each{ key, value ->
try
catch(MissingPropertyException ex){
}
}
return target
}
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Me too! +1