Details
Description
The following piece of code fails:
@TestFor(ActivationController)
class MyControllerTest {
void testSomething() {
assert controller
}
}
With the following error message:
groovy.lang.MissingPropertyException: No such property: controller for class: MyControllerTest
This is caused by the name of the test: when I rename it to MyControllerTest*s*, it works. Would be nice if it would work for both cases.
This bit me too. I was calling params first on some tests so was seeing a similar error message of `No such property: params...` but it was the same cause. My test name omitted the trails "s".