We have seen parse errors when using saved VCR cassettes. The cassette contains JSON with newline escapes (*i.e.* ‘\\’ at the end of lines). This often occurs when the cassette was recorded under Mac OS X.
There are several options for working around this problem:
- Remove the offending escape characters and check in the updated cassette.
- Set the default_cassette_options to a hash containing the entry
:record => 'all'. This will disable VCR playback entirely.
- Load psych instead of syck before loading yaml. You can do this
manually or you can add psych to your Gemfile, update the Gemfile and
Gemfile.lock, configure psych in
config/solano.yml, check in your changes, and re-run your tests.