summaryrefslogtreecommitdiff
path: root/spec/bundler/support/artifice/compact_index_api_missing.rb
blob: 2fd8b6d2e982cb5e8958e69d0dd0bbe607a49219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require_relative "compact_index"

Artifice.deactivate

class CompactIndexApiMissing < CompactIndexAPI
  get "/fetch/actual/gem/:id" do
    halt 404
  end
end

Artifice.activate_with(CompactIndexApiMissing)