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

(MODULES-3829) Add tests for ensure_resources #697

Conversation

HAIL9000
Copy link
Contributor

@HAIL9000 HAIL9000 commented Dec 2, 2016

Prior to this commit, we didn't have tests for the ensure_resources
function (only for the ensure_resource function). This meant that
we weren't catching a bug in the ensure_resources function. In order
to prevent this in the future, add some tests which test the
specific functionality of ensure_resources.

Prior to this commit, we didn't have tests for the ensure_resources
function (only for the ensure_resource function). This meant that
we weren't catching a bug in the ensure_resources function. In order
to prevent this in the future, add some tests which test the
specific functionality of ensure_resources.
@HAIL9000 HAIL9000 force-pushed the issue/master/MODULES-3829_add_tests_for_ensure_resources branch from 3e132bd to 903d94e Compare December 8, 2016 18:16
Prior to this commit, if a hash was passed in as an
argument to the ensure_packages function a method of
hash duplication would be used that is not supported
with versions of ruby older than 2.0. In order to
ensure the method is compatible with older ruby versions,
switch to a different method of duplication.

Additionally add tests to prevent further regressions.
@HAIL9000 HAIL9000 force-pushed the issue/master/MODULES-3829_add_tests_for_ensure_resources branch from f812d07 to 3312cc1 Compare December 9, 2016 13:51
@HAIL9000 HAIL9000 changed the title WIP (MODULES-3829) Add tests for ensure_resources (MODULES-3829) Add tests for ensure_resources Dec 9, 2016
@DavidS DavidS merged commit f63644a into puppetlabs:master Dec 9, 2016
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.

3 participants