summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-04-09 18:28:11 -0700
committerJesse Wolfe <jes5199@gmail.com>2010-04-09 18:28:11 -0700
commit83d8bdaf52ddbb2de4ab8d4b8b7e1593b96e169f (patch)
treea8e9a2af7f26c430e0bbf3bf71519d143264d16c /spec
parentdde69c32caa7cc30dd6cd5b06ff80828f4c47939 (diff)
downloadpuppet-83d8bdaf52ddbb2de4ab8d4b8b7e1593b96e169f.tar.gz
puppet-83d8bdaf52ddbb2de4ab8d4b8b7e1593b96e169f.tar.xz
puppet-83d8bdaf52ddbb2de4ab8d4b8b7e1593b96e169f.zip
Fix heisenbug in spec/unit/provider/mount/parsed.rb
spec/unit/provider/mount/parsed.rb would show a failure when spec/unit/type/mount.rb had been run prior.
Diffstat (limited to 'spec')
-rwxr-xr-xspec/unit/provider/mount/parsed.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/provider/mount/parsed.rb b/spec/unit/provider/mount/parsed.rb
index d394b2997..0cf206d4b 100755
--- a/spec/unit/provider/mount/parsed.rb
+++ b/spec/unit/provider/mount/parsed.rb
@@ -143,6 +143,7 @@ describe provider_class do
# Never write to disk, only to RAM.
#@provider_class.stubs(:filetype).returns(Puppet::Util::FileType.filetype(:ram))
@provider_class.stubs(:target_object).returns(Puppet::Util::FileType.filetype(:ram).new("eh"))
+ @provider_class.clear
@mount = mkmount
@target = @provider_class.default_target