summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-08 23:39:40 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-08 23:39:40 -0700
commit979a46f33856eee18f6334396935b9025b37d221 (patch)
treeb6ec820fc30c51dada116dfa07890e3efa5a751a /spec/spec_helper.rb
parent4a288201d1290a8adf06febbdcd836d88e8da42f (diff)
downloadmixlib-log-979a46f33856eee18f6334396935b9025b37d221.tar.gz
Replace __FILE__ with __dir__ and other minor chefstyle fixes
A few new chefstyle rules to improve readability here. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index e8a1bb1..e48f1af 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -18,7 +18,7 @@
#
$TESTING = true
-$:.push File.join(File.dirname(__FILE__), "..", "lib")
+$:.push File.join(__dir__, "..", "lib")
require "rspec"
require "mixlib/log"