*What steps will reproduce the problem?*
The existence of a cleanup block may cause a casting exception while executing
the where block (As reported in
http://groups.google.com/group/spockframework/browse_frm/thread/c0d532c4f8041d60
)
A script that shows this behavior
http://meetspock.appspot.com/edit/62001
The same script with a small change that cause the exception to disappear
http://meetspock.appspot.com/edit/63001
*What version of Spock and Groovy are you using?*
Groovy 1.8 and Spock 0.6
Original issue reported on code.google.com by xver...@gmail.com on 8 Sep 2012 at 5:05
Original issue reported on code.google.com by
xver...@gmail.com
on 8 Sep 2012 at 5:05