summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-11-29 12:14:49 -0500
committerJoel Fischer <joeljfischer@gmail.com>2018-11-29 12:14:49 -0500
commitecd20cb19255662e9ce45ce2918de6d584a6a1dc (patch)
tree98b2ab9302c5d4120c7d9d3fe1b388e487608e46
parent7684f22e05c0de4785c9dbba53af18db52ddad73 (diff)
downloadsdl_ios-bugfix/issue_1129_remove_choiceset_0_manager.tar.gz
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLCheckChoiceVROptionalOperationSpec.m2
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLPresentChoiceSetOperationSpec.m4
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());
});
});
});