-
-
Notifications
You must be signed in to change notification settings - Fork 259
ReleaseNotes13
Johan Haleby edited this page Jul 19, 2015
·
1 revision
Awaitility.callTo has been renamed to Awaitility.to which should be used together with the new untilCall method. I.e. instead of writing:
await().until( callTo(myObject).myMethod(), equalTo(2) ); // Syntax up until Awaitility 1.2.1you write
await().untilCall( to(myObject).myMethod(), equalTo(2) ); // Syntax Awaitility - Awaitility now supports field suppliers using the new
fieldInconstruct, e.g.:
await().until(fieldIn(myObject).ofType(int.class), equalTo(- Awaitility now has Scala support:
await until { myObject.myMethod == 2 }Refer to the change log.