summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-07-24 15:26:38 -0700
committerLuke Kanies <luke@madstop.com>2009-07-24 15:26:38 -0700
commit719e76b8ce5293cb30c70e62cf3182c6149e2620 (patch)
tree131ec937bed0ac1ddf277baf7bdeaf0b7d07d81c
parentf13f08dfbf659cba6317aac2d77096a8688fc3bd (diff)
downloadpuppet-719e76b8ce5293cb30c70e62cf3182c6149e2620.tar.gz
puppet-719e76b8ce5293cb30c70e62cf3182c6149e2620.tar.xz
puppet-719e76b8ce5293cb30c70e62cf3182c6149e2620.zip
Fixing #2445 - fixing the mount test mock
Signed-off-by: Luke Kanies <luke@madstop.com>
-rwxr-xr-xspec/unit/provider/mount/parsed.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/unit/provider/mount/parsed.rb b/spec/unit/provider/mount/parsed.rb
index 364e145be..cf9feaa94 100755
--- a/spec/unit/provider/mount/parsed.rb
+++ b/spec/unit/provider/mount/parsed.rb
@@ -132,7 +132,8 @@ describe provider_class do
before do
Puppet.settings.stubs(:use)
# Never write to disk, only to RAM.
- @provider_class.stubs(:filetype).returns(Puppet::Util::FileType.filetype(:ram))
+ #@provider_class.stubs(:filetype).returns(Puppet::Util::FileType.filetype(:ram))
+ @provider_class.stubs(:target_object).returns(Puppet::Util::FileType.filetype(:ram).new("eh"))
@mount = mkmount
@target = @provider_class.default_target