summaryrefslogtreecommitdiff
path: root/spec/bundler/support/api_request_limit_hax.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/support/api_request_limit_hax.rb')
-rw-r--r--spec/bundler/support/api_request_limit_hax.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/bundler/support/api_request_limit_hax.rb b/spec/bundler/support/api_request_limit_hax.rb
deleted file mode 100644
index 37ff0203b3..0000000000
--- a/spec/bundler/support/api_request_limit_hax.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-if ENV["BUNDLER_SPEC_API_REQUEST_LIMIT"]
- require_relative "path"
- require "bundler/source"
- require "bundler/source/rubygems"
-
- module Bundler
- class Source
- class Rubygems < Source
- remove_const :API_REQUEST_LIMIT
- API_REQUEST_LIMIT = ENV["BUNDLER_SPEC_API_REQUEST_LIMIT"].to_i
- end
- end
- end
-end