diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-29 14:49:59 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-29 14:49:59 -0800 |
commit | 900886337d3b5dc1a4f4514aff91ba234d327bfe (patch) | |
tree | d0ea88d09f7b928260888e8f0706b32b58ccc6ef /spec/unit/resource/mount_spec.rb | |
parent | b593ff07bb7e7abf56279575e1bd8af99c7dc00f (diff) | |
download | chef-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.rb | 6 |
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 |