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

delete spec/tmp/ directory even if rspec is aborted #34

Open
samrjenkins opened this issue Nov 12, 2021 · 0 comments
Open

delete spec/tmp/ directory even if rspec is aborted #34

samrjenkins opened this issue Nov 12, 2021 · 0 comments

Comments

@samrjenkins
Copy link
Owner

Aborting an rspec run can leave a spec/tmp directory.

As the name suggests, this is a temporary directory which is ordinarily deleted at the end of a spec run. However, if RSpec is aborted early, (executing exit!) within a debugger such as pry, the directory won't get cleared away.

Can we work out a way to tidy up even when RSpec is aborted early.

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