Skip to content

Conversation

jcouball
Copy link
Member

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

  • Ensure all commits include DCO sign-off.
  • Ensure that your contributions pass unit testing.
  • Ensure that your contributions contain documentation if applicable.

Description

Use Dir::Tmpname.create to get a name of a temporary file instead of creating the file with Tempfile.new.

Also, each test should clean up manually after itself rather than having the complexity of keeping track of temp files and deleting them in the #cleanup method.

Signed-off-by: James Couball <jcouball@yahoo.com>
@jcouball jcouball merged commit cf74b91 into master Feb 19, 2023
@jcouball jcouball deleted the test_archive branch February 19, 2023 16:47
@jcouball jcouball mentioned this pull request Feb 26, 2023
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