diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-06-09 18:32:29 -0700 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-06-10 11:16:52 -0700 |
commit | c824a199417515c0bdec21490b06910b8ac6249c (patch) | |
tree | f38b761eac2d596cfb61a75a6913dffbf14526d0 /spec/unit | |
parent | 89c09a570d21bc04336c1b36900f6c34684ad929 (diff) | |
download | chef-c824a199417515c0bdec21490b06910b8ac6249c.tar.gz |
Fix a test to silence an rspec warning.cleanup-resource-inheritance
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/resource/timezone_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/timezone_spec.rb b/spec/unit/resource/timezone_spec.rb index 6461ae5d67..da48ab7c16 100644 --- a/spec/unit/resource/timezone_spec.rb +++ b/spec/unit/resource/timezone_spec.rb @@ -34,6 +34,6 @@ describe Chef::Resource::Timezone do it "supports the :set action only" do expect { resource.action :set }.not_to raise_error - expect { resource.action :unset }.to raise_error + expect { resource.action :unset }.to raise_error(Chef::Exceptions::ValidationFailed) end end |