summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantima-gupta <agupta@msystechnologies.com>2020-11-13 00:37:22 -0800
committerantima-gupta <agupta@msystechnologies.com>2020-11-13 00:37:22 -0800
commitecc1f8d031629d0d5aeab2aa10dfde79df303d39 (patch)
treef0552eadbb3d74d7e03402b2955ab090dbdaa152
parente263bbe44937bda779cba6322ceb0480b12508ca (diff)
downloadchef-ecc1f8d031629d0d5aeab2aa10dfde79df303d39.tar.gz
Added not_supported_on_solaris because it can't cope with LABEL and UUID device type.
Signed-off-by: antima-gupta <agupta@msystechnologies.com>
-rw-r--r--spec/unit/provider/mount_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/unit/provider/mount_spec.rb b/spec/unit/provider/mount_spec.rb
index 47bab39e66..7800d0c666 100644
--- a/spec/unit/provider/mount_spec.rb
+++ b/spec/unit/provider/mount_spec.rb
@@ -207,7 +207,8 @@ describe Chef::Provider::Mount do
expect { provider.disable_fs }.to raise_error(Chef::Exceptions::UnsupportedAction)
end
- describe "#device_unchanged?" do
+ # Not supported on solaris because it can't cope with a LABEL device type.
+ describe "#device_unchanged?", :not_supported_on_solaris do
it "should be true when device_type not changed" do
expect(provider.device_unchanged?).to be_truthy
end