diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-06-05 10:26:52 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-06-05 10:26:52 -0700 |
commit | 792e9509733ed3f151d66d9aba4add34ff5238fb (patch) | |
tree | 95a7c3befe0387f0720e75ac12f76233536a4e0d /spec/unit/provider/mount | |
parent | 0873455416e65c2b3f59575da181597c9d0c232c (diff) | |
download | chef-792e9509733ed3f151d66d9aba4add34ff5238fb.tar.gz |
use :not_supported_on_solaris instead
Diffstat (limited to 'spec/unit/provider/mount')
-rw-r--r-- | spec/unit/provider/mount/mount_spec.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/unit/provider/mount/mount_spec.rb b/spec/unit/provider/mount/mount_spec.rb index 8da9d3bf50..f55a65ab2a 100644 --- a/spec/unit/provider/mount/mount_spec.rb +++ b/spec/unit/provider/mount/mount_spec.rb @@ -19,8 +19,6 @@ require 'spec_helper' require 'ostruct' -exclude_flag = ['solaris2'].include?(ohai[:platform]) - describe Chef::Provider::Mount::Mount do before(:each) do @node = Chef::Node.new @@ -55,7 +53,7 @@ describe Chef::Provider::Mount::Mount do @provider.current_resource.device.should == '/dev/sdz1' end - it "should accecpt device_type :uuid", external => exclude_flag do + it "should accecpt device_type :uuid", :not_supported_on_solaris do @new_resource.device_type :uuid @new_resource.device "d21afe51-a0fe-4dc6-9152-ac733763ae0a" @stdout_findfs = double("STDOUT", :first => "/dev/sdz1") @@ -94,7 +92,7 @@ describe Chef::Provider::Mount::Mount do @provider.load_current_resource end - it "should raise an error if the mount device (uuid) does not exist", external => exclude_flag do + it "should raise an error if the mount device (uuid) does not exist", :not_supported_on_solaris do @new_resource.device_type :uuid @new_resource.device "d21afe51-a0fe-4dc6-9152-ac733763ae0a" status_findfs = double("Status", :exitstatus => 1) @@ -306,7 +304,7 @@ describe Chef::Provider::Mount::Mount do @provider.mount_fs() end - it "should mount the filesystem specified by uuid", external => exclude_flag do + it "should mount the filesystem specified by uuid", :not_supported_on_solaris do @new_resource.device "d21afe51-a0fe-4dc6-9152-ac733763ae0a" @new_resource.device_type :uuid @stdout_findfs = double("STDOUT", :first => "/dev/sdz1") |