summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2010-06-24 17:37:07 -0700
committerJesse Wolfe <jes5199@gmail.com>2010-06-25 18:14:58 -0700
commit61e978b5e066086c4a8754afcf5282b643e1e76d (patch)
tree667d9c58dee3d72538729db958dde80b19f116b5
parentcf9bcad6bfdaf730a41f9429a8e2d140b8d1d51d (diff)
downloadpuppet-61e978b5e066086c4a8754afcf5282b643e1e76d.tar.gz
puppet-61e978b5e066086c4a8754afcf5282b643e1e76d.tar.xz
puppet-61e978b5e066086c4a8754afcf5282b643e1e76d.zip
[#3139] Fixed a broken integration spec in type tidy
A change to the way host_config is determined caused this spec to call store when it didn't before, so it needed to be mocked.
-rwxr-xr-xspec/integration/type/tidy.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/integration/type/tidy.rb b/spec/integration/type/tidy.rb
index 632e21bb8..732e7dcf8 100755
--- a/spec/integration/type/tidy.rb
+++ b/spec/integration/type/tidy.rb
@@ -3,10 +3,15 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require 'puppet_spec/files'
+require 'puppet/file_bucket/dipper'
describe Puppet::Type.type(:tidy) do
include PuppetSpec::Files
+ before do
+ Puppet::Util::Storage.stubs(:store)
+ end
+
# Testing #355.
it "should be able to remove dead links" do
dir = tmpfile("tidy_link_testing")