summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2019-05-03 10:25:50 -0400
committerJoel Fischer <joeljfischer@gmail.com>2019-05-03 10:25:50 -0400
commitcd44a87f9d50d8c0cb2f0510cc94a290c363f454 (patch)
tree45ef8335024bb3a76d53576da3fabc794bc9c85c
parent1b4eaef72dd9f5372d75e0917911f4ff7d1a4b95 (diff)
downloadsdl_ios-cd44a87f9d50d8c0cb2f0510cc94a290c363f454.tar.gz
Fis broken tests
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLSoftButtonManagerSpec.m2
-rw-r--r--SmartDeviceLinkTests/SDLScreenManagerSpec.m4
2 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLSoftButtonManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLSoftButtonManagerSpec.m
index 2a312c7ac..772c8cbcd 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLSoftButtonManagerSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLSoftButtonManagerSpec.m
@@ -39,7 +39,7 @@
QuickSpecBegin(SDLSoftButtonManagerSpec)
-fdescribe(@"a soft button manager", ^{
+describe(@"a soft button manager", ^{
__block SDLSoftButtonManager *testManager = nil;
__block SDLFileManager *testFileManager = nil;
diff --git a/SmartDeviceLinkTests/SDLScreenManagerSpec.m b/SmartDeviceLinkTests/SDLScreenManagerSpec.m
index 481295539..5bb3943c5 100644
--- a/SmartDeviceLinkTests/SDLScreenManagerSpec.m
+++ b/SmartDeviceLinkTests/SDLScreenManagerSpec.m
@@ -17,7 +17,7 @@
@property (weak, nonatomic) id<SDLConnectionManagerType> connectionManager;
@property (weak, nonatomic) SDLFileManager *fileManager;
-@property (strong, nonatomic, nullable) SDLShow *inProgressUpdate;
+@property (strong, nonatomic) NSOperationQueue *transactionQueue;
@property (copy, nonatomic, nullable) SDLHMILevel currentLevel;
@end
@@ -100,7 +100,7 @@ describe(@"screen manager", ^{
it(@"should have in progress updates", ^{
expect(testScreenManager.textAndGraphicManager.inProgressUpdate).toNot(beNil());
- expect(testScreenManager.softButtonManager.inProgressUpdate).toNot(beNil());
+ expect(testScreenManager.softButtonManager.transactionQueue.operationCount).to(equal(1));
expect(testScreenManager.textAndGraphicManager.batchUpdates).to(beFalse());
expect(testScreenManager.softButtonManager.batchUpdates).to(beFalse());