Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ExVCR.Config.filter_request_headers to receive a list of headers #131

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow ExVCR.Config.filter_request_headers to receive a list of headers #131

wants to merge 1 commit into from

Conversation

rafaels88
Copy link

@rafaels88 rafaels88 commented Mar 2, 2018

Currently, it is not possible to do something like, ExVCR.Config.filter_request_headers(["header_one", "header_two"]).

This PR makes this possible.

Since ExVCR.Config.filter_request_headers is a plural term (headers) and it is possible to give a list of values when defining this config on config.exs as filter_request_headers: [], it seems that it is really non-intuitive the fact of giving a list of values to the function, it does not work (also no errors happen).

@coveralls
Copy link

coveralls commented Mar 2, 2018

Coverage Status

Coverage increased (+0.01%) to 93.697% when pulling 77825ff on rafaels88:allow-filter_request_headers-get-a-list into fdf5988 on parroty:master.

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

Successfully merging this pull request may close these issues.

2 participants