Skip to content

Move expectation out of let block #2558

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Conversation

ekohl
Copy link
Collaborator

@ekohl ekohl commented Aug 16, 2024

Summary

Otherwise it isn't executed.

Related Issues (if any)

Fixes: ec74a8e ("Add support for setting UserDir in Virtual Hosts")

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@ekohl ekohl requested review from bastelfreak, smortex and a team as code owners August 16, 2024 23:51
it {
expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir')
.with(content: %r{^\s+UserDir disabled$})
.with(content: %r{^\s+UUserDir enabled bob$})
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Looks like there was already a typo in UUserDir here, which is proof the test didn't ran.

bastelfreak
bastelfreak previously approved these changes Aug 17, 2024
ekohl added 2 commits August 17, 2024 14:03
Otherwise it isn't executed.

Fixes: ec74a8e ("Add support for setting UserDir in Virtual Hosts")
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants