summaryrefslogtreecommitdiff
path: root/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSpeakSpec.m
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2016-09-21 16:40:21 -0700
committerMuller, Alexander (A.) <amulle19@ford.com>2016-09-21 16:40:21 -0700
commitdd05e5044ee245e26b132698f860bd534198705b (patch)
tree65537bfa5844986dc2d3c6c317056362949d330c /SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSpeakSpec.m
parente6e84cc8c23609ab286c64a2c6a3037313f29908 (diff)
downloadsdl_ios-dd05e5044ee245e26b132698f860bd534198705b.tar.gz
Replaced all defines with constant strings of the SDLName typedef. Also modified SDLFunctionID to use a static dictionary.
Diffstat (limited to 'SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSpeakSpec.m')
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSpeakSpec.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSpeakSpec.m b/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSpeakSpec.m
index dd6b6a400..999eb9a08 100644
--- a/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSpeakSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSpeakSpec.m
@@ -26,10 +26,10 @@ describe(@"Getter/Setter Tests", ^ {
});
it(@"Should get correctly when initialized", ^ {
- NSMutableDictionary* dict = [@{NAMES_request:
- @{NAMES_parameters:
- @{NAMES_ttsChunks:[@[chunk] mutableCopy]},
- NAMES_operation_name:NAMES_Speak}} mutableCopy];
+ NSMutableDictionary* dict = [@{SDLNameRequest:
+ @{SDLNameParameters:
+ @{SDLNameTtsChunks:[@[chunk] mutableCopy]},
+ SDLNameOperationName:SDLNameSpeak}} mutableCopy];
SDLSpeak* testRequest = [[SDLSpeak alloc] initWithDictionary:dict];
expect(testRequest.ttsChunks).to(equal([@[chunk] mutableCopy]));
@@ -42,4 +42,4 @@ describe(@"Getter/Setter Tests", ^ {
});
});
-QuickSpecEnd \ No newline at end of file
+QuickSpecEnd