venmo / DVR

Network testing for Swift
http://blog.soff.es/network-testing-in-swift-with-dvr
MIT License
651 stars 86 forks source link

Request HTTPBody serialized is different from the one being deserialized. #23

Closed dasmer closed 9 years ago

dasmer commented 9 years ago

This is because json encodes and decodes parameters in a non-deterministic order. This causes tests to fail.

Therefore we cannot directly compare HTTPBody's like we do here: https://github.com/venmo/DVR/blob/master/DVR/Cassette.swift#L17