Hello folks!
I'm trying to update my app. Before it was running on REE, I've installed 1.9.3, but now I have some issues with VCR.
As I read in the web, 1.8 ruby used syck to serialize yaml.
Now 1.9 uses psych. So, I'm passing serialize_with: :syck to VCR.use_cassette method, because my cassets were built with 1.8.
So, It reads my cassets, reads HTTP requests where content-type is HTML or plain text, but there is problem with json content-type.
One of requests recieves JSON, cassete has following property:
body:
string: "[{\n\
\"id\": 7997041,\n\
\"received\": \"07.12.2012 13:56:32\",\n\
\"phone\": \"SvyaznoyBnk\",\n\
\"message\": \"Podtverdite vhod v Internet-bank. Vash odnorazoviy parol: 694557. Nikomu ne soobschaite etot parol, v tom chisle sotrudnikam banka.\",\n\
\"to_phone\": \"79039062882\",\n\
\"sent\": \"07.12.2012 13:56:28\"\n\
}]"
But when VCR deserializes it, the response body is nil.
can you help, where can be a problem?