From 83d8bdaf52ddbb2de4ab8d4b8b7e1593b96e169f Mon Sep 17 00:00:00 2001 From: Jesse Wolfe Date: Fri, 9 Apr 2010 18:28:11 -0700 Subject: 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. --- spec/unit/provider/mount/parsed.rb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit