summaryrefslogtreecommitdiff
path: root/spec/support/artifice
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/artifice')
-rw-r--r--spec/support/artifice/endpoint.rb2
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))