summaryrefslogtreecommitdiff
path: root/spec/unit/provider/mount
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/mount')
-rw-r--r--spec/unit/provider/mount/mount_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/provider/mount/mount_spec.rb b/spec/unit/provider/mount/mount_spec.rb
index 00cc9a10e2..cf0e8791de 100644
--- a/spec/unit/provider/mount/mount_spec.rb
+++ b/spec/unit/provider/mount/mount_spec.rb
@@ -36,6 +36,8 @@ describe Chef::Provider::Mount::Mount do
::File.stub!(:exists?).with("/dev/sdz1").and_return true
::File.stub!(:exists?).with("/tmp/foo").and_return true
+ ::File.stub!(:realpath).with("/dev/sdz1").and_return "/dev/sdz1"
+ ::File.stub!(:realpath).with("/tmp/foo").and_return "/tmp/foo"
end
describe "when discovering the current fs state" do