diff options
Diffstat (limited to 'spec/support/artifice/endpoint.rb')
-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 33e2a9b411..21c44ba6e0 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("../../../../lib/bundler/deprecate", __FILE__) +require File.expand_path("#{Spec::Path.root}/lib/bundler/deprecate", __FILE__) include Spec::Path $LOAD_PATH.unshift(*Dir[Spec::Path.base_system_gems.join("gems/{artifice,rack,tilt,sinatra}-*/lib")].map(&:to_s)) |