rspec-puppet error could not find class
I'm getting the following error when trying to run an rspec-puppet test
Puppet::Error: Could not find class rpmbuild for <hostname> on node <hostname></hostname></hostname>
I have tried a lot of different settings in spec_helper file and still getting the same error.
Thanks in advance for any help