Skip to content

Commit 632bf3b

Browse files
deivid-rodriguezhsbt
authored andcommitted
[rubygems/rubygems] Migrate mirror probe specs to use the compact index API
Could potentially fix some flakies we're using and make the specs more "modern" and simplifies them because less fallbacks are involved. ruby/rubygems@30da9a1a93
1 parent 3319d3d commit 632bf3b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/bundler/install/gems/mirror_probe_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ def setup_server
105105
@server_port = find_unused_port
106106
@server_uri = "http://#{host}:#{@server_port}"
107107

108-
require_relative "../../support/artifice/endpoint"
108+
require_relative "../../support/artifice/compact_index"
109109
require_relative "../../support/silent_logger"
110110

111111
require "rackup/server"
112112

113113
@server_thread = Thread.new do
114-
Rackup::Server.start(app: Endpoint,
114+
Rackup::Server.start(app: CompactIndexAPI,
115115
Host: host,
116116
Port: @server_port,
117117
server: "webrick",

0 commit comments

Comments
 (0)