diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2017-09-07 12:39:06 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2017-09-07 12:39:06 +0900 |
commit | 938bb4753270deb57643d114605134652aa5b5b2 (patch) | |
tree | 9da0d1e9e4b6c14ea452f3c155774277015dd392 /spec/support/artifice | |
parent | 6d9b2753c95d31b583792ff7363020e0083cbeb4 (diff) | |
download | bundler-938bb4753270deb57643d114605134652aa5b5b2.tar.gz |
Remove `File.expand_path` when it given Pathname object
Diffstat (limited to 'spec/support/artifice')
-rw-r--r-- | spec/support/artifice/endpoint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/artifice/endpoint.rb b/spec/support/artifice/endpoint.rb index 210f364a12..0d52130263 100644 --- a/spec/support/artifice/endpoint.rb +++ b/spec/support/artifice/endpoint.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require File.expand_path("../../path.rb", __FILE__) -require File.expand_path(Spec::Path.root.join("lib/bundler/deprecate"), __FILE__) +require Spec::Path.root.join("lib/bundler/deprecate") include Spec::Path $LOAD_PATH.unshift(*Dir[Spec::Path.base_system_gems.join("gems/{artifice,rack,tilt,sinatra}-*/lib")].map(&:to_s)) |