rspec-puppet supports classes, functions, defined types, but not facts. spec | -> classses -> defines -> facts ? ? ? ?? ? Is there a recommended way to test facts? I've seen a few examples, but they seem hacky, and I have a feeling this should be or is available from puppet modules. http://unethicalblogger.com/2014/03/01/testing-custom-facts-with-rspec.html --> requires re-writing every fact. Not super keen on doing that if I don't have to. github.com/vStone/puppet-testing-example --> seems to work at first, but then when I change an expectation from false to true, it still passes. This is 2 years old and the version of rspec isn't locked down in the gemfile, so it may not even be valid with the latest version. Does anyone have a working solution? Maybe my google-fu isn't very good.. there has to be something out there that works? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e55b7789-ea18-4440-933b-efa1e5bc3263%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.