diff options
author | Tim Smith <tsmith@chef.io> | 2016-11-18 12:00:47 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2016-12-01 10:58:06 -0800 |
commit | 3b65f582afe867180573313db3eb6450abf1da9b (patch) | |
tree | 4eadf04c5959ad39cb56e150f7fa510925b32168 /spec/functional/loader_spec.rb | |
parent | 5f43d30a38cee0a87c479988283a6bd934c07d01 (diff) | |
download | ohai-rubocop_rspec.tar.gz |
rspec-rubocop autofix the specsrubocop_rspec
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/functional/loader_spec.rb')
-rw-r--r-- | spec/functional/loader_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/loader_spec.rb b/spec/functional/loader_spec.rb index def45b3e..2d98a91a 100644 --- a/spec/functional/loader_spec.rb +++ b/spec/functional/loader_spec.rb @@ -25,7 +25,7 @@ RSpec.describe "Ohai::Loader" do let(:plugin_directory) { Dir.mktmpdir("plugins") } let(:plugin_path) { plugin_directory.tr("/", "\\") } - before(:each) do + before do Ohai.config[:plugin_path] = plugin_path plugin_content = <<-EOF @@ -38,7 +38,7 @@ EOF end end - after(:each) do + after do FileUtils.rm_rf(plugin_directory) end |