summaryrefslogtreecommitdiff
path: root/spec/unit/provider/mount_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/mount_spec.rb')
-rw-r--r--spec/unit/provider/mount_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/unit/provider/mount_spec.rb b/spec/unit/provider/mount_spec.rb
index 5aa247a30f..fa168e571e 100644
--- a/spec/unit/provider/mount_spec.rb
+++ b/spec/unit/provider/mount_spec.rb
@@ -135,7 +135,7 @@ describe Chef::Provider::Mount do
provider.unmount_retries = 1
expect(provider).to receive(:umount_fs)
expect(provider).to receive(:mounted?).and_return(true, true)
- expect{ provider.run_action(:remount) }.to raise_error(Chef::Exceptions::Mount)
+ expect { provider.run_action(:remount) }.to raise_error(Chef::Exceptions::Mount)
end
end
@@ -181,7 +181,6 @@ describe Chef::Provider::Mount do
end
end
-
it "should delegates the mount implementation to subclasses" do
expect { provider.mount_fs }.to raise_error(Chef::Exceptions::UnsupportedAction)
end