From 49b0f3b024855efad66a386595eabd103058826d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 15 Dec 2022 18:00:04 +0900 Subject: Merge RubyGems/Bundler master Pick from https://github.com/rubygems/rubygems/commit/084f7d1f21f6fc3e2bb685b7bda3653fb2891c6e --- spec/bundler/support/artifice/endpoint_host_redirect.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/bundler/support/artifice/endpoint_host_redirect.rb') diff --git a/spec/bundler/support/artifice/endpoint_host_redirect.rb b/spec/bundler/support/artifice/endpoint_host_redirect.rb index 338cbcad00..0efb6cda02 100644 --- a/spec/bundler/support/artifice/endpoint_host_redirect.rb +++ b/spec/bundler/support/artifice/endpoint_host_redirect.rb @@ -1,8 +1,6 @@ # frozen_string_literal: true -require_relative "endpoint" - -Artifice.deactivate +require_relative "helpers/endpoint" class EndpointHostRedirect < Endpoint get "/fetch/actual/gem/:id", :host_name => "localgemserver.test" do @@ -14,4 +12,6 @@ class EndpointHostRedirect < Endpoint end end +require_relative "helpers/artifice" + Artifice.activate_with(EndpointHostRedirect) -- cgit v1.2.3