From ecd20cb19255662e9ce45ce2918de6d584a6a1dc Mon Sep 17 00:00:00 2001 From: Joel Fischer Date: Thu, 29 Nov 2018 12:14:49 -0500 Subject: Fix test failures --- .../DevAPISpecs/SDLCheckChoiceVROptionalOperationSpec.m | 2 +- SmartDeviceLinkTests/DevAPISpecs/SDLPresentChoiceSetOperationSpec.m | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLCheckChoiceVROptionalOperationSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLCheckChoiceVROptionalOperationSpec.m index 2d8734f8f..265dad6e4 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLCheckChoiceVROptionalOperationSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLCheckChoiceVROptionalOperationSpec.m @@ -133,7 +133,7 @@ describe(@"check choice VR optional operation", ^{ it(@"should have called the completion handler with proper data and finish", ^{ expect(hasCalledOperationCompletionHandler).toEventually(beTrue()); - expect(resultVROptional).to(beTrue()); + expect(resultVROptional).to(beFalse()); expect(resultError).to(beNil()); expect(@(testOp.finished)).to(equal(@YES)); expect(@(testOp.executing)).to(equal(@NO)); diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLPresentChoiceSetOperationSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLPresentChoiceSetOperationSpec.m index d9ae6869d..05269c997 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLPresentChoiceSetOperationSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLPresentChoiceSetOperationSpec.m @@ -310,8 +310,8 @@ describe(@"present choice operation", ^{ }); it(@"should be finished", ^{ - expect(hasCalledOperationCompletionHandler).to(beTrue()); - expect(testOp.isFinished).to(beTrue()); + expect(hasCalledOperationCompletionHandler).toEventually(beTrue()); + expect(testOp.isFinished).toEventually(beTrue()); }); }); }); -- cgit v1.2.1