Skip to content

Commit

Permalink
#29 replace timeout/timeoutUnit with Duration in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Helmbold authored and sksamuel committed Jul 3, 2016
1 parent dee52b1 commit 1b7b881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ When testing future based code, it's handy to be able to say "I expect these ass
class MyTests : ShouldSpec() {
init {
should("do something") {
eventually(5, TimeUnit.SECONDS) {
eventually(5.seconds) {
// code here that should complete in 5 seconds but takes an indetermistic amount of time.
}
}
Expand Down

0 comments on commit 1b7b881

Please sign in to comment.