aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascript
diff options
context:
space:
mode:
authorTeddy Wing2018-03-15 17:18:09 +0100
committerLuc Donnet2018-03-23 17:16:43 +0100
commitc113edee0c5575d4078ccb8f0d349992860535d7 (patch)
tree208176723db02eefb56bc58884e34168afb8ec2d /spec/javascript
parent02b2947632fbafc7bb637a21cc6ea089094fe31c (diff)
downloadchouette-core-c113edee0c5575d4078ccb8f0d349992860535d7.tar.bz2
Rename `RouteWayCostJSONSerializer` to `RouteWayCostUnitConverter`
Because we need to pass a Ruby hash to Rabl instead of a JSON string, get rid of our serialiser and instead turn it into a function that just converts the distance & time units. Fix a bug in the test that had the `'1-2'` key as a symbol instead of a string which was caused by a copy-paste from JSON and not being thorough enough in search-and-replace. Refs #6203
Diffstat (limited to 'spec/javascript')
0 files changed, 0 insertions, 0 deletions