diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2019-05-28 17:34:30 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2019-05-28 17:34:30 -0400 |
commit | 3b237aba6cbce79006b8e6d9d156fd5ed2dbcc3c (patch) | |
tree | 2e8e2a3b2187907172836ebdb744ca7ac42dd13a | |
parent | e767e9cdae509ba7143fe7bc04b2cbe820ada860 (diff) | |
download | sdl_ios-feature/issue_1222_align_systemcapabilitymanager_callbacks.tar.gz |
More test fixesfeature/issue_1222_align_systemcapabilitymanager_callbacks
-rw-r--r-- | SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m b/SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m index e8d81827b..4fc9a6547 100644 --- a/SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m +++ b/SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m @@ -34,7 +34,7 @@ @interface SDLSystemCapabilityManager () -@property (assign, nonatomic) BOOL supportsObservers; +@property (assign, nonatomic, readwrite) BOOL supportsSubscriptions; @end @@ -372,7 +372,7 @@ describe(@"System capability manager", ^{ beforeEach(^{ blockObserverTriggeredCount = 0; - testSystemCapabilityManager.supportsObservers = YES; + testSystemCapabilityManager.supportsSubscriptions = YES; phoneObserver = [[TestSystemCapabilityObserver alloc] init]; [testSystemCapabilityManager subscribeToCapabilityType:SDLSystemCapabilityTypePhoneCall withObserver:phoneObserver selector:@selector(capabilityUpdatedWithNotification:)]; @@ -384,7 +384,7 @@ describe(@"System capability manager", ^{ __block BOOL observationSuccess = NO; beforeEach(^{ - testSystemCapabilityManager.supportsObservers = NO; + testSystemCapabilityManager.supportsSubscriptions = NO; observationSuccess = [testSystemCapabilityManager subscribeToCapabilityType:SDLSystemCapabilityTypePhoneCall withObserver:phoneObserver selector:@selector(capabilityUpdatedWithNotification:)]; }); |