summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Rudzki (ttr) <ttr@ttrsite.net>2016-12-01 15:49:31 +0000
committerTomasz Rudzki (ttr) <ttr@ttrsite.net>2016-12-01 15:49:31 +0000
commit2acb279140e1b0f21d2561911842b5696bbe042c (patch)
tree939e01303a1f20eed21a792ac616ffbf545cbf70
parentdf8b88b095d6abb8c63e5d666f300a3cd47b3158 (diff)
downloadchef-2acb279140e1b0f21d2561911842b5696bbe042c.tar.gz
linux mount spec - skip device detection for zfs (and vboxsf)
Signed-off-by: Tomasz Rudzki (ttr) <ttr@ttrsite.net>
-rw-r--r--spec/unit/provider/mount/mount_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/mount/mount_spec.rb b/spec/unit/provider/mount/mount_spec.rb
index 0b956d9bb9..20a4fd88dd 100644
--- a/spec/unit/provider/mount/mount_spec.rb
+++ b/spec/unit/provider/mount/mount_spec.rb
@@ -107,7 +107,7 @@ describe Chef::Provider::Mount::Mount do
expect { @provider.load_current_resource(); @provider.mountable? }.to raise_error(Chef::Exceptions::Mount)
end
- %w{tmpfs fuse cgroup}.each do |fstype|
+ %w{tmpfs fuse cgroup vboxsf zfs}.each do |fstype|
it "does not expect the device to exist for #{fstype}" do
@new_resource.fstype(fstype)
@new_resource.device("whatever")