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

Deprecation Warnings - Mocha mock_with #432

Closed
danquack opened this issue Oct 4, 2018 · 0 comments · Fixed by #554
Closed

Deprecation Warnings - Mocha mock_with #432

danquack opened this issue Oct 4, 2018 · 0 comments · Fixed by #554

Comments

@danquack
Copy link
Contributor

danquack commented Oct 4, 2018

It appears that the default mocha mock_with has been deprecated, see https://tickets.puppetlabs.com/browse/PDK-916

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: All
  • Ruby: 2.1.9+
  • Distribution: All

How to reproduce (e.g Puppet code you use)

Run an rspec bundle exec rake test

What are you seeing

Deprecation warnings

What behaviour did you expect instead

See https://tickets.puppetlabs.com/browse/PDK-916

Output log

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
Examples:

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 a pull request may close this issue.

1 participant