voxpupuli / puppet-nodejs

Puppet module to install nodejs and global npm packages
https://forge.puppet.com/puppet/nodejs
Apache License 2.0
113 stars 247 forks source link

Resolve issues with tests failing #319

Closed wyardley closed 7 years ago

wyardley commented 7 years ago

This seems to resolve the test failures for me. This is more or less copy / pasta from:

https://github.com/puppetlabs/puppet/blob/master/spec/unit/provider/package/gem_spec.rb

I also switched @resource[:install_options] to resource[:install_options], which seems more consistent with other providers and with the rest of this one as well.