diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-12-15 18:00:04 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-12-15 19:06:40 +0900 |
commit | 49b0f3b024855efad66a386595eabd103058826d (patch) | |
tree | 629182a46cb9e8b4bc9661878e07e1e9a539ac32 /spec/bundler/support/artifice/endpoint_host_redirect.rb | |
parent | 2581de112c1957dc4b5852e54337551dc8972c99 (diff) |
Merge RubyGems/Bundler master
Pick from https://github.com/rubygems/rubygems/commit/084f7d1f21f6fc3e2bb685b7bda3653fb2891c6e
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6936
Diffstat (limited to 'spec/bundler/support/artifice/endpoint_host_redirect.rb')
-rw-r--r-- | spec/bundler/support/artifice/endpoint_host_redirect.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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) |