diff --git a/spec/unit/provider/mount/mount_spec.rb b/spec/unit/provider/mount/mount_spec.rb index 8da9d3bf50b..f55a65ab2ad 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 @@ @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 @@ @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 @@ @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")