From 5d7a0d4250a337d6469c830015629e7d05517959 Mon Sep 17 00:00:00 2001 From: Jon Reid Date: Sun, 10 Feb 2019 19:01:46 -0800 Subject: [PATCH] For async example, describe adding wait --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 837de47..ce5c489 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ func test_executingActionForOKButton_shouldDoSomething() { ### How can I test an alert that's presented using DispatchQueue.main? -Create an expectation in your test case. Then fulfill it in the alert verifier's completion block. +Create an expectation in your test case. Fulfill it in the alert verifier's completion block. Add a short wait at the start of the Assert phase. ```swift func test_showAlertOnMainDispatchQueue_shouldDoSomething() {