summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-08-06 20:51:22 -0700
committerTim Smith <tsmith84@gmail.com>2019-08-06 20:51:22 -0700
commit1d60af72a9e1cfa7155bf42bcba6b0f25e863324 (patch)
tree1c4eb7d73f14fe0622e4fc48ec5eccab14107fe2 /spec/spec_helper.rb
parentb7a37d62fca4252b0c80774adaa7f07a36d745fb (diff)
downloadmixlib-log-1d60af72a9e1cfa7155bf42bcba6b0f25e863324.tar.gz
Chefstyle fixes
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index a2de3b9..e8a1bb1 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -24,9 +24,7 @@ require "rspec"
require "mixlib/log"
require "mixlib/log/formatter"
-RSpec.configure do |config|
- config.disable_monkey_patching!
-end
+RSpec.configure(&:disable_monkey_patching!)
class Logit
extend Mixlib::Log