diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2017-09-07 10:34:42 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2017-09-07 10:34:42 +0900 |
commit | 6d9b2753c95d31b583792ff7363020e0083cbeb4 (patch) | |
tree | d40e1cdd5bf626594aa7f21a4570a2425509a943 /spec/runtime | |
parent | 2c501b2bd08afa1a6904c18eaf281d9d49d93e66 (diff) | |
download | bundler-6d9b2753c95d31b583792ff7363020e0083cbeb4.tar.gz |
Removed Spec::Path, Because it's included on rspec contexts of bundler
Diffstat (limited to 'spec/runtime')
-rw-r--r-- | spec/runtime/with_clean_env_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/runtime/with_clean_env_spec.rb b/spec/runtime/with_clean_env_spec.rb index f471118ba9..3ca7d1451f 100644 --- a/spec/runtime/with_clean_env_spec.rb +++ b/spec/runtime/with_clean_env_spec.rb @@ -79,7 +79,7 @@ RSpec.describe "Bundler.with_env helpers" do it "should clean up RUBYLIB" do code = "print Bundler.clean_env['RUBYLIB']" - ENV["RUBYLIB"] = File.expand_path(Spec::Path.root.join("lib"), __FILE__) + File::PATH_SEPARATOR + "/foo" + ENV["RUBYLIB"] = File.expand_path(root.join("lib"), __FILE__) + File::PATH_SEPARATOR + "/foo" result = bundle("exec '#{Gem.ruby}' -e #{code.inspect}") expect(result).to eq("/foo") end |