fix method call

This commit is contained in:
Erik Little 2016-07-15 10:11:05 -04:00
parent dce28b2dac
commit a9ac86ba3d
No known key found for this signature in database
GPG Key ID: 62F837E56F4E9320

View File

@ -11,7 +11,7 @@ import XCTest
class SocketAckManagerTest: XCTestCase {
var ackManager = SocketAckManager()
func testAddAcks() {
let callbackExpection = self.expectationWithDescription("callbackExpection")
let itemsArray = ["Hi", "ho"]
@ -19,8 +19,8 @@ class SocketAckManagerTest: XCTestCase {
callbackExpection.fulfill()
}
ackManager.addAck(1, callback: callback)
ackManager.executeAck(1, items: itemsArray)
ackManager.executeAck(1, items: itemsArray, onQueue: dispatch_get_main_queue())
waitForExpectationsWithTimeout(3.0, handler: nil)
}
}