Closed GoogleCodeExporter closed 9 years ago
I'm sorry, the test should be:
void testNonCompletePropertyExpectationsShouldNotAppearInErrorMessages() {
def mockLoader = mock()
mockLoader.nonCompleteProperty
def expected = "Unexpected property getter call 'something'"
play {
def message = shouldFail(AssertionFailedError) {
mockLoader.something
}
assertEquals expected, message
}
}
Original comment by JohnnyJianHY
on 29 Nov 2008 at 3:39
Original comment by julien.g...@gmail.com
on 29 Nov 2008 at 7:15
Started. But it might wait for tomorrow.
Original comment by julien.g...@gmail.com
on 29 Nov 2008 at 7:17
Original comment by JohnnyJianHY
on 30 Nov 2008 at 4:36
Original comment by julien.g...@gmail.com
on 30 Nov 2008 at 1:34
Original issue reported on code.google.com by
JohnnyJianHY
on 29 Nov 2008 at 3:33