diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2010-04-09 18:28:11 -0700 |
---|---|---|
committer | Jesse Wolfe <jes5199@gmail.com> | 2010-04-09 18:28:11 -0700 |
commit | 83d8bdaf52ddbb2de4ab8d4b8b7e1593b96e169f (patch) | |
tree | a8e9a2af7f26c430e0bbf3bf71519d143264d16c /spec | |
parent | dde69c32caa7cc30dd6cd5b06ff80828f4c47939 (diff) | |
download | puppet-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-x | spec/unit/provider/mount/parsed.rb | 1 |
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 |