Skip to content

Commit a9ac86b

Browse files
committed
fix method call
1 parent dce28b2 commit a9ac86b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SocketIO-MacTests/SocketAckManagerTest.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ import XCTest
1111

1212
class SocketAckManagerTest: XCTestCase {
1313
var ackManager = SocketAckManager()
14-
14+
1515
func testAddAcks() {
1616
let callbackExpection = self.expectationWithDescription("callbackExpection")
1717
let itemsArray = ["Hi", "ho"]
1818
func callback(items: [AnyObject]) {
1919
callbackExpection.fulfill()
2020
}
2121
ackManager.addAck(1, callback: callback)
22-
ackManager.executeAck(1, items: itemsArray)
22+
ackManager.executeAck(1, items: itemsArray, onQueue: dispatch_get_main_queue())
2323
waitForExpectationsWithTimeout(3.0, handler: nil)
24-
24+
2525
}
2626
}

0 commit comments

Comments
 (0)