This project uses serverspec for testing. All test should pass after issuing a vagrant up
command. The bundler project is used to manage the testing environment.
On a Fedora 25 (or higher) system, beyond vagrant, only the bundler package needs to be installed.
$ sudo dnf install -y rubygem-bundler
Make sure ~/bin
is on your path.
$ export PATH=$PATH:~/bin
Install the required gems.
$ bundle install
Once the bundle has been installed and the puppet server is running in Vagrant, run the tests
$ bundle exec rake spec
< snip>
Finished in 1.44 seconds (files took 2.2 seconds to load)
27 examples, 0 failures