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

Add default mocking framework #563

Merged
merged 1 commit into from
Mar 27, 2019
Merged

Add default mocking framework #563

merged 1 commit into from
Mar 27, 2019

Conversation

dhoppe
Copy link
Member

@dhoppe dhoppe commented Mar 25, 2019

This will fix the deprecation warning:

puppetlabs_spec_helper: defaults `mock_with` to `:mocha`. See https://github.com/puppetlabs/puppetlabs_spec_helper#mock_with to choose a sensible value for you

This will fix the deprecation warning. 

```
Deprecation Warnings:

puppetlabs_spec_helper: defaults `mock_with` to `:mocha`. See https://github.com/puppetlabs/puppetlabs_spec_helper#mock_with to choose a sensible value for you
```
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

I'm good with this, but it may be a bit more painful modulesync.

@bastelfreak
Copy link
Member

I also think that this is a good approach. We can still configure it differently for specific modules if they require it.

@bastelfreak bastelfreak merged commit 3dd221d into master Mar 27, 2019
@bastelfreak bastelfreak deleted the mock_with branch March 27, 2019 19:49
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.

3 participants