diff options
| -rwxr-xr-x | spec/unit/provider/mount/parsed.rb | 3 |
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 |
