diff options
Diffstat (limited to 'spec/bundler/support/artifice/compact_index_api_missing.rb')
-rw-r--r-- | spec/bundler/support/artifice/compact_index_api_missing.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/support/artifice/compact_index_api_missing.rb b/spec/bundler/support/artifice/compact_index_api_missing.rb index 2fd8b6d2e9..f771f7d1f0 100644 --- a/spec/bundler/support/artifice/compact_index_api_missing.rb +++ b/spec/bundler/support/artifice/compact_index_api_missing.rb @@ -1,8 +1,6 @@ # frozen_string_literal: true -require_relative "compact_index" - -Artifice.deactivate +require_relative "helpers/compact_index" class CompactIndexApiMissing < CompactIndexAPI get "/fetch/actual/gem/:id" do @@ -10,4 +8,6 @@ class CompactIndexApiMissing < CompactIndexAPI end end +require_relative "helpers/artifice" + Artifice.activate_with(CompactIndexApiMissing) |