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

Puffing Billy - mkdir for cache path after configured #100

Open
eliotsykes opened this issue Dec 4, 2015 · 1 comment
Open

Puffing Billy - mkdir for cache path after configured #100

eliotsykes opened this issue Dec 4, 2015 · 1 comment

Comments

@eliotsykes
Copy link
Owner

c.cache_path = "spec/support/http_cache/billy/"

Puffing Billy expects the developer to create the cache_path directory structure. If its not there it fails and logs an error to log/test.log. This error might be missed by a first-time user of puffing-billy.

Is there an option on Puffing Billy (latest version) to mkdir if it doesn't exist? Contribute?

If not, as part of puffing billy config, add a mkdir -p for the cache_path that runs immediately after its defined in spec/support/puffing_billy.rb.

@eliotsykes
Copy link
Owner Author

Consider renaming http_cache/billy -> http_cache/frontend (and vcr -> backend?)

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

No branches or pull requests

1 participant