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

Clean up acceptance tests to minimize the spec helper #1401

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ekohl
Copy link
Collaborator

@ekohl ekohl commented Feb 15, 2023

During cfgmgmtcamp it was mentioned that Puppet may want to switch back from Litmus to Beaker. This takes some small steps by reducing the size of spec_helper_acceptance_local.rb, which in my experience is always a good step towards alignment. Even if the switch doesn't happen, reducing local spec helpers is always good.

I'm going to rely on CI to make sure this is valid.

@ekohl ekohl requested a review from a team as a code owner February 15, 2023 18:27
@bastelfreak
Copy link
Collaborator

@ekohl can you rebase this one?

This is a pattern we use in Vox Pupuli. In fact, voxpupuli-acceptance
does this if it detects the file automatically. The biggest benefit is
that editors and linters can work on the file, which increases quality.
@bastelfreak
Copy link
Collaborator

mhm can you apply some rubocop autofix magic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants