rodjek/rspec-puppet — pull request #45 by hunner (2012-09-04 21:31:56+00:00)
Title: Exported resources specs

This pull request allows rspec-puppet module spec tests to be written for classes which contain the exported resource collector `<<| |>>` by defining `let(:exported_resources)` arrays of resource hashes. It builds of of @rodjek's previous work, updating it for all cases that Puppet itself covers but without having to resort to having actual `sqlite` implementations in the testing environment.

This change is backwards compatible. All tests pass.