diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2019-09-18 12:52:39 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2019-09-18 12:52:39 -0400 |
commit | 1c982fd903090f4a89ea03629858302812e1f583 (patch) | |
tree | 09928580a394bdda8aaf09d4db7caf3189befc0b | |
parent | 74c03e41607c976698216c881d34696f56ca9a47 (diff) | |
download | sdl_ios-1c982fd903090f4a89ea03629858302812e1f583.tar.gz |
Still fixing tests
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m | 2 | ||||
-rw-r--r-- | SmartDeviceLinkTests/SDLAsynchronousRPCOperationSpec.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m index 4066e2583..8e042f3b7 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).to(equal(testDisplayCapabilities)); + expect(testManager.displayCapabilities).toEventually(equal(testDisplayCapabilities)); }); it(@"should set display capabilities when SDLDidReceiveRegisterAppInterfaceResponse is received", ^{ diff --git a/SmartDeviceLinkTests/SDLAsynchronousRPCOperationSpec.m b/SmartDeviceLinkTests/SDLAsynchronousRPCOperationSpec.m index 917756334..ad847378e 100644 --- a/SmartDeviceLinkTests/SDLAsynchronousRPCOperationSpec.m +++ b/SmartDeviceLinkTests/SDLAsynchronousRPCOperationSpec.m @@ -83,7 +83,7 @@ describe(@"sending responses and notifications", ^{ [testOperationQueue addOperation:testOperation]; [testOperationQueue cancelAllOperations]; - [NSThread sleepForTimeInterval:0.1]; + [NSThread sleepForTimeInterval:0.5]; expect(testConnectionManager.receivedRequests).toEventually(beEmpty()); }); |