puppetlabs_spec_helper
puppetlabs_spec_helper copied to clipboard
A set of shared spec helpers specific to Puppetlabs projects
Since git 2.32.0, the task check:git_ignore failed with an error message: "fatal: ls-files -i must be used with either -o or -c". Fixed by adding `--cached` option to `git ls-files`.
This adds rspec-github as a dependency and at runtime it is optionally configured. The detection is the same as for Rubocop. In https://github.com/voxpupuli/puppet-example/pull/22 I've showcased that this works:  to permit the latest version. Release notes Sourced from pathspec's releases. 1.1.3 Man Page Generation In the switchover to GH actions, I forgot about the...
WHen running tests I noticed this: fatal: ls-files -i must be used with either -o or -c However, rake proceeded so it wasn't failing. This isn't a complete PR, but...
This is outdated and no longer supported by [puppet-syntax](https://github.com/voxpupuli/puppet-syntax/pull/120)
What is the best way to handle this for `.fixtures.yml`? https://forge.puppet.com/about/premium Looks like I can do it like this but obviously storing this into git might not be the best...
This will eventually allow us to automatically generate skeleton tests for untested classes & defined types.
Updates the requirements on [puppet-lint](https://github.com/puppetlabs/puppet-lint) to permit the latest version. Release notes Sourced from puppet-lint's releases. v3.0.0 Changelog All notable changes to this project will be documented in this file....
Updates the requirements on [mocha](https://github.com/freerange/mocha) to permit the latest version. Changelog Sourced from mocha's changelog. 2.1.0 External changes Fix compatibility with Minitest (#614) - thanks to @kyrofa & @manewitz for...
Anyone interested in this? Request for comment / improvements / toss it out? Example: ``` $ pdk bundle exec rake spec_described[90] pdk (INFO): Using Ruby 3.2.2 pdk (INFO): Using Puppet...