summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-08 23:33:52 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-08 23:33:52 -0700
commitfbbf000d9b8259713aa2366122ac1ea10c76ae92 (patch)
treefbe875d063cfd352d54742f7d530dcbf6309f4f0 /spec/spec_helper.rb
parent9818855311012a9be130396566a56c094b8a9e97 (diff)
downloadmixlib-cli-fbbf000d9b8259713aa2366122ac1ea10c76ae92.tar.gz
Replaces uses of __FILE__ with __dir__
This makes these bits easier to read 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 ffbde8a..b9a13ac 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,5 @@
$TESTING = true
-$:.push File.join(File.dirname(__FILE__), "..", "lib")
+$:.push File.join(__dir__, "..", "lib")
require "mixlib/cli"