summaryrefslogtreecommitdiff
path: root/spec/unit/resource/mount_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-01-29 14:49:59 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-01-29 14:49:59 -0800
commit900886337d3b5dc1a4f4514aff91ba234d327bfe (patch)
treed0ea88d09f7b928260888e8f0706b32b58ccc6ef /spec/unit/resource/mount_spec.rb
parentb593ff07bb7e7abf56279575e1bd8af99c7dc00f (diff)
downloadchef-900886337d3b5dc1a4f4514aff91ba234d327bfe.tar.gz
fix should_not raise_error(SpecificException)
Diffstat (limited to 'spec/unit/resource/mount_spec.rb')
-rw-r--r--spec/unit/resource/mount_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/resource/mount_spec.rb b/spec/unit/resource/mount_spec.rb
index fb414018ba..c80f6971f1 100644
--- a/spec/unit/resource/mount_spec.rb
+++ b/spec/unit/resource/mount_spec.rb
@@ -42,9 +42,9 @@ describe Chef::Resource::Mount do
end
it "should accept mount, umount and remount as actions" do
- lambda { @resource.action :mount }.should_not raise_error(ArgumentError)
- lambda { @resource.action :umount }.should_not raise_error(ArgumentError)
- lambda { @resource.action :remount }.should_not raise_error(ArgumentError)
+ lambda { @resource.action :mount }.should_not raise_error
+ lambda { @resource.action :umount }.should_not raise_error
+ lambda { @resource.action :remount }.should_not raise_error
lambda { @resource.action :brooklyn }.should raise_error(ArgumentError)
end