diff options
author | Justin Gluck <justin.gluck@livio.io> | 2019-04-05 16:03:57 -0400 |
---|---|---|
committer | Justin Gluck <justin.gluck@livio.io> | 2019-04-05 16:03:57 -0400 |
commit | 390062122557121d314a4a2ed5b48f8c00677aed (patch) | |
tree | 6d1869b182fccc0e4b0e0aa5d9219618871d8c43 | |
parent | 46aadf5d892176162e8ebb2f3653b24de26c8d06 (diff) | |
download | sdl_ios-390062122557121d314a4a2ed5b48f8c00677aed.tar.gz |
Updating unit tests
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLPreloadChoicesOperationSpec.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLPreloadChoicesOperationSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLPreloadChoicesOperationSpec.m index 1032e79fc..bf289dc29 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLPreloadChoicesOperationSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLPreloadChoicesOperationSpec.m @@ -198,7 +198,7 @@ describe(@"a preload choices operation", ^{ NSArray<SDLCreateInteractionChoiceSet *> *receivedRequests = (NSArray<SDLCreateInteractionChoiceSet *> *)testConnectionManager.receivedRequests; expect(receivedRequests).to(haveCount(3)); - expect(receivedRequests.lastObject.choiceSet.firstObject.menuName).to(beNil()); + expect(receivedRequests.lastObject.choiceSet.firstObject.menuName).toNot(beNil()); expect(receivedRequests.lastObject.choiceSet.firstObject.secondaryText).to(beNil()); expect(receivedRequests.lastObject.choiceSet.firstObject.tertiaryText).to(beNil()); expect(receivedRequests.lastObject.choiceSet.firstObject.vrCommands).toNot(beNil()); @@ -269,7 +269,7 @@ describe(@"a preload choices operation", ^{ NSArray<SDLCreateInteractionChoiceSet *> *receivedRequests = (NSArray<SDLCreateInteractionChoiceSet *> *)testConnectionManager.receivedRequests; expect(receivedRequests).to(haveCount(3)); - expect(receivedRequests.lastObject.choiceSet.firstObject.menuName).to(beNil()); + expect(receivedRequests.lastObject.choiceSet.firstObject.menuName).toNot(beNil()); expect(receivedRequests.lastObject.choiceSet.firstObject.secondaryText).to(beNil()); expect(receivedRequests.lastObject.choiceSet.firstObject.tertiaryText).to(beNil()); expect(receivedRequests.lastObject.choiceSet.firstObject.vrCommands).to(beNil()); |