Failure/Error: Puppet::Type.type(:application).stubs(:defaultprovider).returns described_class
NoMethodError:
undefined method `stubs' for Puppet::Type::Application:Class
# ./spec/unit/puppet/provider/application/asadmin_spec.rb:6
A work-around for me was to pin puppetlabs_spec_helper to v0.4.x. [2]Afternoon all,The error I was seeing was:
Just thought I'd make the lists aware of an issue I hit with puppetlabs_spec_helper v0.5.0 today.
It would appear that changes committed in [1] results in the dropping of mocha as a dependency, and therefore any tests depending on mocha failing.
Failure/Error: Puppet::Type.type(:application).stubs(:defaultprovider).returns described_class
NoMethodError:
undefined method `stubs' for Puppet::Type::Application:Class
# ./spec/unit/puppet/provider/application/asadmin_spec.rb:6
A work-around for me was to pin puppetlabs_spec_helper to v0.4.x. [2]