diff options
author | markgibbons <mark.gibbons@nordstrom.com> | 2014-08-01 17:33:18 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-08-21 12:48:11 -0700 |
commit | ab350db9ee1838660cb6bab5d3a62749ff7d337f (patch) | |
tree | fd998878b989679ca5160ab15cefb5edcce8f2a5 /spec/unit/provider/mount | |
parent | 68ca480473ab4bcb302d003d40b9a76e39410268 (diff) | |
download | chef-ab350db9ee1838660cb6bab5d3a62749ff7d337f.tar.gz |
CHEF-1737: Fix noauto support.
Add fsck device support.
Allow vxfs device types.
Diffstat (limited to 'spec/unit/provider/mount')
-rw-r--r-- | spec/unit/provider/mount/solaris_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/unit/provider/mount/solaris_spec.rb b/spec/unit/provider/mount/solaris_spec.rb index 5d328c2edc..3fb8690d73 100644 --- a/spec/unit/provider/mount/solaris_spec.rb +++ b/spec/unit/provider/mount/solaris_spec.rb @@ -34,6 +34,8 @@ describe Chef::Provider::Mount::Solaris, :unix_only do let(:device) { "/dev/dsk/c0t2d0s7" } + let(:fsck_device) { "/dev/rdsk/c0t2d0s7" } + let(:mountpoint) { "/mnt/foo" } let(:options) { nil } @@ -167,6 +169,10 @@ describe Chef::Provider::Mount::Solaris, :unix_only do provider.current_resource.device.should == device end + it "should set the fsck_device on the current_resource" do + provider.current_resource.fsck_device.should == fsck_device + end + it "should set the device_type on the current_resource" do provider.current_resource.device_type.should == device_type end |