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

Load configuration for cassette paths for mix tasks #88

Merged
merged 2 commits into from Jan 25, 2017
Merged

Load configuration for cassette paths for mix tasks #88

merged 2 commits into from Jan 25, 2017

Conversation

alakra
Copy link
Contributor

@alakra alakra commented Jan 18, 2017

The Problem

When running the Mix tasks defined in this project, they would only use the hard-coded default paths for recorded and custom cassettes and not consider the config. This demonstrates different configuration behavior between managing cassette data when running tests and managing cassette data from mix tasks.

Proposed Changes

These changes now look at the Mix.Config related to exvcr and use those directories if they are not specified on the CLI and then fallback to the defaults if a custom config is not used in both the context of the project's Mix tasks and running tests.

References

Related to Issue #82

Angelo Lakra added 2 commits January 18, 2017 12:29
@coveralls
Copy link

coveralls commented Jan 18, 2017

Coverage Status

Coverage remained the same at 93.735% when pulling 6e8a1fd on alakra:load_configuration_for_cassette_paths_for_mix_tasks into e5c94d9 on parroty:master.

@alakra
Copy link
Contributor Author

alakra commented Jan 18, 2017

@parroty Thanks for taking the time to make this project and to look at this PR! ❤️ ❤️ ❤️

@parroty parroty merged commit bb66836 into parroty:master Jan 25, 2017
@parroty
Copy link
Owner

parroty commented Jan 25, 2017

Thanks for digging into the issue item!

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.

None yet

3 participants