diff options
author | Tim Smith <tsmith@chef.io> | 2020-05-30 15:48:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-30 15:48:42 -0700 |
commit | 545272aad122d76c32e9b36bb813347ec8c032d1 (patch) | |
tree | 7fd009c6defb9d41f04f39b3c0906e85653c49e2 | |
parent | 65bceb59fb7c8f2427234f4210e1ea07bd1255c1 (diff) | |
parent | f721afabbf5649202ae9a3b64752aceb5a78325a (diff) | |
download | chef-545272aad122d76c32e9b36bb813347ec8c032d1.tar.gz |
Merge pull request #9938 from chef/revert_paths
Revert the change to the load paths in the specs
-rw-r--r-- | spec/spec_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 01ff1d3c47..e85a417578 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -25,9 +25,10 @@ module Shell end $LOAD_PATH.unshift File.expand_path("../..", __FILE__) - +$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) $LOAD_PATH.unshift File.expand_path("../../chef-config/lib", __FILE__) $LOAD_PATH.unshift File.expand_path("../../chef-utils/lib", __FILE__) +$LOAD_PATH.unshift File.dirname(__FILE__) require "rubygems" require "rspec/mocks" |