VCR to censor ENV['CHANGELOG_GITHUB_TOKEN']
This commit is contained in:
parent
d837f25beb
commit
88bcb872a6
spec
spec_helper.rb
vcr/GitHubChangelogGenerator_OctoFetcher
_fetch_closed_issues_and_pr/when_API_call_is_valid
returns_issue_with_proper_key
returns_issues.jsonreturns_issues_with_labels.jsonreturns_pull_request_with_proper_key
returns_pull_requests_with_labels.json_fetch_closed_pull_requests/when_API_call_is_valid
_fetch_commit/when_API_call_is_valid
_fetch_date_of_tag/when_API_call_is_valid
_fetch_events_async/when_API_call_is_valid
_github_fetch_tags/when_API_call_is_valid
@ -48,6 +48,10 @@ VCR.configure do |c|
|
||||
preserve_exact_body_bytes: true,
|
||||
decode_compressed_response: true
|
||||
}
|
||||
c.filter_sensitive_data('<GITHUB_TOKEN>') {
|
||||
"token #{ENV.fetch('CHANGELOG_GITHUB_TOKEN')}"
|
||||
}
|
||||
|
||||
c.configure_rspec_metadata!
|
||||
|
||||
c.hook_into :webmock, :faraday
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user