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

Use Dir.glob with base parameter in acceptance tests #93

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

ekohl
Copy link
Contributor

@ekohl ekohl commented Jun 15, 2024

This didn't work because using absolute paths doesn't work. By using relative paths in expect it can use the base parameter.

It also enhances the be_an_empty_glob matcher to avoid a double glob because it avoids any potential race condition.

While cleaning up, it also fixes a typo in the be_identical_as_soource matcher.

ekohl added 2 commits June 15, 2024 19:46
This didn't work because using absolute paths doesn't work. By using
relative paths in expect it can use the base parameter.

It also enhances the be_an_empty_glob matcher to avoid a double glob
because it avoids any potential race condition.
@ekohl ekohl requested a review from a team as a code owner June 15, 2024 17:47
Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are passing and it reads fine so LGTM

@david22swan david22swan merged commit c407756 into puppetlabs:main Jun 25, 2024
11 of 12 checks passed
@ekohl ekohl deleted the simplify-specs branch June 25, 2024 15:43
@danadoherty639 danadoherty639 added the enhancement New feature or request label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants