diff options
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m | 2 | ||||
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m index 8e042f3b7..6b677a0b5 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m @@ -160,7 +160,7 @@ describe(@"menu manager", ^{ SDLRPCResponseNotification *notification = [[SDLRPCResponseNotification alloc] initWithName:SDLDidReceiveSetDisplayLayoutRequest object:self rpcResponse:testSetDisplayLayoutResponse]; [[NSNotificationCenter defaultCenter] postNotification:notification]; - expect(testManager.displayCapabilities).toEventually(equal(testDisplayCapabilities)); + expect(testManager.displayCapabilities).withTimeout(3).toEventually(equal(testDisplayCapabilities)); }); it(@"should set display capabilities when SDLDidReceiveRegisterAppInterfaceResponse is received", ^{ diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m index 6d0b7e6cd..f8bbb1aad 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m @@ -403,12 +403,10 @@ describe(@"present keyboard operation", ^{ [testOp dismissKeyboard]; }); - it(@"should not attempt to send a cancel interaction", ^{ + it(@"should not finish or send a cancel interaction", ^{ SDLCancelInteraction *lastRequest = testConnectionManager.receivedRequests.lastObject; expect(lastRequest).toNot(beAnInstanceOf([SDLCancelInteraction class])); - }); - it(@"should not finish", ^{ expect(hasCalledOperationCompletionHandler).toEventually(beFalse()); expect(testOp.isExecuting).toEventually(beTrue()); expect(testOp.isFinished).toEventually(beFalse()); |