Hi, it seems that in order to run rspec-puppet tests, i need to be outside of the spec directory. When I'm running rspec from within the spec directory (./spec, ./spec/classes, etc), I get errors like these:
Failure/Error: it { is_expected.to compile }
NameError:
undefined local variable or method `compile'
I've tried to look through the code to understand why but wasn't very successful.