From 49766aeb87f331e187320aee3d08a39d9d8dda89 Mon Sep 17 00:00:00 2001 From: Joel Fischer Date: Tue, 9 Mar 2021 15:45:06 -0500 Subject: More fix attempts --- SmartDeviceLinkTests/SDLAlertManagerSpec.m | 4 ++-- SmartDeviceLinkTests/SDLPresentAlertOperationSpec.m | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SmartDeviceLinkTests/SDLAlertManagerSpec.m b/SmartDeviceLinkTests/SDLAlertManagerSpec.m index c84b82456..a4df0e7f2 100644 --- a/SmartDeviceLinkTests/SDLAlertManagerSpec.m +++ b/SmartDeviceLinkTests/SDLAlertManagerSpec.m @@ -158,8 +158,8 @@ describe(@"alert manager tests", ^{ SDLPresentAlertOperation *presentAlertOp2 = testAlertManager.transactionQueue.operations[1]; expect(presentAlertOp1.isExecuting).to(beTrue()); expect(presentAlertOp2.isExecuting).to(beFalse()); - expect(presentAlertOp1.currentWindowCapability).to(equal(testWindowCapability)); - expect(presentAlertOp2.currentWindowCapability).to(beNil()); + expect(presentAlertOp1.currentWindowCapability).toEventually(equal(testWindowCapability)); + expect(presentAlertOp2.currentWindowCapability).toEventually(beNil()); }); it(@"should start the queue if the new capability is not nil and update the pending operations with the new capability", ^{ diff --git a/SmartDeviceLinkTests/SDLPresentAlertOperationSpec.m b/SmartDeviceLinkTests/SDLPresentAlertOperationSpec.m index e9395e86c..599afa415 100644 --- a/SmartDeviceLinkTests/SDLPresentAlertOperationSpec.m +++ b/SmartDeviceLinkTests/SDLPresentAlertOperationSpec.m @@ -697,8 +697,8 @@ describe(@"SDLPresentAlertOperation", ^{ [testPresentAlertOperation start]; - expect(testPresentAlertOperation.internalError).to(equal([NSError sdl_alertManager_alertDataInvalid])); - expect(hasCalledOperationCompletionHandler).to(beTrue()); + expect(testPresentAlertOperation.internalError).toEventually(equal([NSError sdl_alertManager_alertDataInvalid])); + expect(hasCalledOperationCompletionHandler).toEventually(beTrue()); expect(testPresentAlertOperation.isFinished).toEventually(beTrue()); }); }); -- cgit v1.2.1