Skip to content

Commit

Permalink
Fix InvalidNimbleAPIUsage: nested async expectations are not allowed …
Browse files Browse the repository at this point in the history
…to avoid creating flaky tests
  • Loading branch information
ricardopereira committed Sep 26, 2016
1 parent 2a560c5 commit 62d3610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Spec/RestClientChannel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ class RestClientChannel: QuickSpec {
}
}

delay(0.2) {
waitUntil(timeout: testTimeout) { done in
waitUntil(timeout: testTimeout) { done in
delay(0.2) {
channel.publish(nil, data: "message3") { _ in
done()
}
Expand Down

0 comments on commit 62d3610

Please sign in to comment.