diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-02 15:59:11 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-02 15:59:11 -0700 |
commit | 1909f56148ce8f56777234d651dde1824f1017b0 (patch) | |
tree | e038fadca8a28a0dbf2ee6a06b56f602e6d09758 /spec/unit/resource | |
parent | f50ffe2b1b3b0afc7aa2b01a9356e439f78a5fcd (diff) | |
download | chef-1909f56148ce8f56777234d651dde1824f1017b0.tar.gz |
Style/EmptyMethod
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/resource')
-rw-r--r-- | spec/unit/resource/file/verification_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/unit/resource/file/verification_spec.rb b/spec/unit/resource/file/verification_spec.rb index f0ec999019..57c58249eb 100644 --- a/spec/unit/resource/file/verification_spec.rb +++ b/spec/unit/resource/file/verification_spec.rb @@ -128,8 +128,7 @@ describe Chef::Resource::File::Verification do before(:each) do class Chef::Resource::File::Verification::Turtle < Chef::Resource::File::Verification provides :cats - def verify(path, opts) - end + def verify(path, opts); end end allow(Chef::Resource::File::Verification::Turtle).to receive(:new).and_return(registered_verification) end |