Closed dblock closed 4 years ago
Is this still an issue? This is what I have in my app.
VCR.configure do |config|
config.filter_sensitive_data('access-token') { ENV['STRAVA_ACCESS_TOKEN'] }
end
Not sure. This is about this project, you can check whether it's reproduced, delete any .yml in specs, set STRAVA_ACCESS_TOKEN
and run the spec. It will re-record a new VCR yml. Open it, does it have your STRAVA_ACCESS_TOKEN
or "access-token"? If it's the former, the bug is the bug, if it's the latter we're good and this can be closed.
Looks like it can be closed. Some of the specs failed but it looks like it was due to data changing in Strava, like more people have completed a segment.
headers:
Authorization:
- Bearer access-token
Awesome, thanks for checking.
Couldn't make it work for the Bearer header. Currently having to constantly edit new YMLs and replace the access token with
access-token
when a new cassette is recorded.