summaryrefslogtreecommitdiff
path: root/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLResetGlobalPropertiesSpec.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLResetGlobalPropertiesSpec.m')
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLResetGlobalPropertiesSpec.m14
1 files changed, 7 insertions, 7 deletions
diff --git a/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLResetGlobalPropertiesSpec.m b/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLResetGlobalPropertiesSpec.m
index a71b8c4b1..6f9b03c44 100644
--- a/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLResetGlobalPropertiesSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLResetGlobalPropertiesSpec.m
@@ -18,19 +18,19 @@ describe(@"Getter/Setter Tests", ^ {
it(@"Should set and get correctly", ^ {
SDLResetGlobalProperties* testRequest = [[SDLResetGlobalProperties alloc] init];
- testRequest.properties = [@[SDLGlobalPropertyMenuName, SDLGlobalPropertyVrHelpTitle] copy];
+ testRequest.properties = [@[SDLGlobalPropertyMenuName, SDLGlobalPropertyVRHelpTitle] copy];
- expect(testRequest.properties).to(equal([@[SDLGlobalPropertyMenuName, SDLGlobalPropertyVrHelpTitle] copy]));
+ expect(testRequest.properties).to(equal([@[SDLGlobalPropertyMenuName, SDLGlobalPropertyVRHelpTitle] copy]));
});
it(@"Should get correctly when initialized", ^ {
- NSMutableDictionary* dict = [@{NAMES_request:
- @{NAMES_parameters:
- @{NAMES_properties:[@[SDLGlobalPropertyMenuName, SDLGlobalPropertyVrHelpTitle] copy]},
- NAMES_operation_name:NAMES_ResetGlobalProperties}} mutableCopy];
+ NSMutableDictionary* dict = [@{SDLNameRequest:
+ @{SDLNameParameters:
+ @{SDLNameProperties:[@[SDLGlobalPropertyMenuName, SDLGlobalPropertyVRHelpTitle] copy]},
+ SDLNameOperationName:SDLNameResetGlobalProperties}} mutableCopy];
SDLResetGlobalProperties* testRequest = [[SDLResetGlobalProperties alloc] initWithDictionary:dict];
- expect(testRequest.properties).to(equal([@[SDLGlobalPropertyMenuName, SDLGlobalPropertyVrHelpTitle] copy]));
+ expect(testRequest.properties).to(equal([@[SDLGlobalPropertyMenuName, SDLGlobalPropertyVRHelpTitle] copy]));
});
it(@"Should return nil if not set", ^ {