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

spec_helper.rb: Fix typo in template #918

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

bastelfreak
Copy link
Member

previously we had c.mock_with = <%= @configs['mock_with'] %>. That's a regression. It's supposed to be c.mock_with=<%= @configs['mock_with'] %>. The issue here is the assumption that puppetlabs_spec_helper provides mock_with as rspec config option. But that's not the case.

Regression was introduced in 9b09c95

previously we had `c.mock_with = <%= @configs['mock_with'] %>`. That's a
regression. It's supposed to be `c.mock_with=<%= @configs['mock_with']
%>`. The issue here is the assumption that puppetlabs_spec_helper
provides `mock_with` as rspec config option. But that's not the case.

Regression was introduced in 9b09c95
@bastelfreak bastelfreak added the bug label Jul 9, 2024
@bastelfreak bastelfreak self-assigned this Jul 9, 2024
@bastelfreak bastelfreak merged commit fa995d2 into voxpupuli:master Jul 9, 2024
4 checks passed
@bastelfreak bastelfreak deleted the mockschmock branch July 9, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants