summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-09-09 15:24:08 -0700
committerGitHub <noreply@github.com>2020-09-09 15:24:08 -0700
commite2a43f613ff1830175716acd541cf3bc921183d6 (patch)
tree9ad2e3e4d1594563d63d3b584edf7480b06e0a2d /spec
parent261f3d2da638149a16a47a9d823696151357052b (diff)
parente231e52c566ebe82f753142749d6bfff63dacc3a (diff)
downloadmixlib-shellout-e2a43f613ff1830175716acd541cf3bc921183d6.tar.gz
Merge pull request #220 from chef/dir
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index fb60fe7..f1d60d2 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,5 @@
-$:.unshift File.expand_path("../../lib", __FILE__)
-$:.unshift File.expand_path("../..", __FILE__)
+$:.unshift File.expand_path("../lib", __dir__)
+$:.unshift File.expand_path("..", __dir__)
require "mixlib/shellout"
require "tmpdir"