diff options
| author | Dominic Cleal <dcleal@redhat.com> | 2011-04-13 09:44:04 +0100 |
|---|---|---|
| committer | Dominic Cleal <dcleal@redhat.com> | 2011-04-13 09:44:04 +0100 |
| commit | f8c2f1afa4a9ef71681a96b83b2abdc303a4b0bf (patch) | |
| tree | 7383a86bdabe195a86ef940f1a82513ed39eff20 /spec | |
| parent | ef86105215a00f428e9cdc251b6a29b8e11487bb (diff) | |
| download | puppet-f8c2f1afa4a9ef71681a96b83b2abdc303a4b0bf.tar.gz puppet-f8c2f1afa4a9ef71681a96b83b2abdc303a4b0bf.tar.xz puppet-f8c2f1afa4a9ef71681a96b83b2abdc303a4b0bf.zip | |
(#4258) Stop file and config checks from breaking spec
Moved all file and config checks into healthcheck method which is then stubbed
in the spec.
Diffstat (limited to 'spec')
| -rwxr-xr-x | spec/unit/provider/package/pkgutil_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/unit/provider/package/pkgutil_spec.rb b/spec/unit/provider/package/pkgutil_spec.rb index 4f0e0ccd7..f1d21f450 100755 --- a/spec/unit/provider/package/pkgutil_spec.rb +++ b/spec/unit/provider/package/pkgutil_spec.rb @@ -9,6 +9,9 @@ describe provider do @resource = stub 'resource' @resource = Puppet::Type.type(:package).new(:name => "TESTpkg", :ensure => :present) @provider = provider.new(@resource) + + # Stub all file and config tests + provider.stubs(:healthcheck) end it "should have an install method" do |
