diff options
Diffstat (limited to 'spec/bundler/support/artifice/compact_index_host_redirect.rb')
-rw-r--r-- | spec/bundler/support/artifice/compact_index_host_redirect.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/spec/bundler/support/artifice/compact_index_host_redirect.rb b/spec/bundler/support/artifice/compact_index_host_redirect.rb deleted file mode 100644 index ab371117de..0000000000 --- a/spec/bundler/support/artifice/compact_index_host_redirect.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -require File.expand_path("../compact_index", __FILE__) - -Artifice.deactivate - -class CompactIndexHostRedirect < CompactIndexAPI - get "/fetch/actual/gem/:id", :host_name => "localgemserver.test" do - redirect "http://bundler.localgemserver.test#{request.path_info}" - end - - get "/versions" do - status 404 - end - - get "/api/v1/dependencies" do - status 404 - end -end - -Artifice.activate_with(CompactIndexHostRedirect) |