Skip to content
This repository has been archived by the owner on Jun 12, 2019. It is now read-only.

Record VCR #46

Open
thadeubrito opened this issue Jun 14, 2016 · 1 comment
Open

Record VCR #46

thadeubrito opened this issue Jun 14, 2016 · 1 comment

Comments

@thadeubrito
Copy link

thadeubrito commented Jun 14, 2016

Hey guys,

I'm having problem to record bigquery's response on the VCR. The problem using the BigQuery gem is in the response body the attribute string is empty and MultiJson can not parse it

MultiJson::ParseError:
  JSON::ParserError

response:

...
"body":{  
  "encoding":"UTF-8",
  "string":""
},
...

Testing others gem options to bigquery(gcloud), I could record the VCR but I can't read it, I had it:

Zlib::GzipFile::Error:
  not in gzip format

The curious fact is:
1 - I recorded the VCR using the gcloud gem
2 - I switch to use the bigquery gem, and the bigquery gem can read the VCR recorded by gcloud

It is not a great flow to work : ) because of that I'm here to try some help.

Environment:
Ruby 2.1.5p273
Bigquery: 0.9.0

@abronte
Copy link
Owner

abronte commented Jun 15, 2016

Have you tried master instead of the gem? I've never actually used VCR so I'm not too familiar with your issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants