summaryrefslogtreecommitdiff
path: root/spec/bundler/support/artifice/compact_index_forbidden.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-15 18:00:04 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-15 19:06:40 +0900
commit49b0f3b024855efad66a386595eabd103058826d (patch)
tree629182a46cb9e8b4bc9661878e07e1e9a539ac32 /spec/bundler/support/artifice/compact_index_forbidden.rb
parent2581de112c1957dc4b5852e54337551dc8972c99 (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/compact_index_forbidden.rb')
-rw-r--r--spec/bundler/support/artifice/compact_index_forbidden.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/support/artifice/compact_index_forbidden.rb b/spec/bundler/support/artifice/compact_index_forbidden.rb
index 3eebe0fbd8..18c30ed9a2 100644
--- a/spec/bundler/support/artifice/compact_index_forbidden.rb
+++ b/spec/bundler/support/artifice/compact_index_forbidden.rb
@@ -1,8 +1,6 @@
# frozen_string_literal: true
-require_relative "compact_index"
-
-Artifice.deactivate
+require_relative "helpers/compact_index"
class CompactIndexForbidden < CompactIndexAPI
get "/versions" do
@@ -10,4 +8,6 @@ class CompactIndexForbidden < CompactIndexAPI
end
end
+require_relative "helpers/artifice"
+
Artifice.activate_with(CompactIndexForbidden)