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

Generator specs clean up after themselves. #3353

Merged
merged 1 commit into from
Mar 12, 2018
Merged

Conversation

parndt
Copy link
Member

@parndt parndt commented Mar 12, 2018

I was having issues running the generator specs because I got permission
denied errors for the tmpdir that was being used in the spec for
engine_generator_multiple_resources.

I then noticed that the other specs use a relative path inside the core/
directory for the temporary directory.

I've switched the spec to do this and also added an after which cleans
up after the test ensuring no extra files or folders are left lying
around on the file system.

I was having issues running the generator specs because I got permission
denied errors for the tmpdir that was being used in the spec for
engine_generator_multiple_resources.

I then noticed that the other specs use a relative path inside the core/
directory for the temporary directory.

I've switched the spec to do this and also added an after which cleans
up after the test ensuring no extra files or folders are left lying
around on the file system.
@bricesanchez bricesanchez self-requested a review March 12, 2018 02:35
@parndt parndt merged commit a6884c5 into master Mar 12, 2018
@parndt parndt deleted the bugfix/specs-tmpdirs branch March 12, 2018 03:01
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.

1 participant