Originally reported on Google Code with ID 274
expect:
block() == 1
where:
block = { 1 }
groovy.lang.MissingMethodException: No signature of method: MySpec.block() is applicable
for argument types: () values: []
Using block.call() or declaring the data variable as a method parameter solves the
problem (even if the parameter is untyped).
Reported by pniederw on 2012-10-13 11:07:49
Originally reported on Google Code with ID 274
Reported by
pniederwon 2012-10-13 11:07:49