summaryrefslogtreecommitdiff
path: root/spec/mixlib
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/mixlib
parentb7a37d62fca4252b0c80774adaa7f07a36d745fb (diff)
downloadmixlib-log-1d60af72a9e1cfa7155bf42bcba6b0f25e863324.tar.gz
Chefstyle fixes
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/mixlib')
-rw-r--r--spec/mixlib/log_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mixlib/log_spec.rb b/spec/mixlib/log_spec.rb
index b58c4e2..5366dcd 100644
--- a/spec/mixlib/log_spec.rb
+++ b/spec/mixlib/log_spec.rb
@@ -38,7 +38,7 @@ class LoggerLike
@messages << message
end
- [:trace, :debug, :info, :warn, :error, :fatal].each do |method_name|
+ %i{trace debug info warn error fatal}.each do |method_name|
class_eval(<<-E)
def #{method_name}(message)
@messages << message