diff options
Diffstat (limited to 'spec/bundler/support/artifice/endpoint_extra_missing.rb')
-rw-r--r-- | spec/bundler/support/artifice/endpoint_extra_missing.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/bundler/support/artifice/endpoint_extra_missing.rb b/spec/bundler/support/artifice/endpoint_extra_missing.rb deleted file mode 100644 index 038a12610a..0000000000 --- a/spec/bundler/support/artifice/endpoint_extra_missing.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -require File.expand_path("../endpoint_extra", __FILE__) - -Artifice.deactivate - -class EndpointExtraMissing < EndpointExtra - get "/extra/fetch/actual/gem/:id" do - if params[:id] == "missing-1.0.gemspec.rz" - halt 404 - else - File.read("#{gem_repo2}/quick/Marshal.4.8/#{params[:id]}") - end - end -end - -Artifice.activate_with(EndpointExtraMissing) |