summaryrefslogtreecommitdiff
path: root/spec/bundler/support/artifice/endpoint_500.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/support/artifice/endpoint_500.rb')
-rw-r--r--spec/bundler/support/artifice/endpoint_500.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/bundler/support/artifice/endpoint_500.rb b/spec/bundler/support/artifice/endpoint_500.rb
deleted file mode 100644
index 202ccfc829..0000000000
--- a/spec/bundler/support/artifice/endpoint_500.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-require File.expand_path("../../path.rb", __FILE__)
-include Spec::Path
-
-$LOAD_PATH.unshift(*Dir[Spec::Path.base_system_gems.join("gems/{artifice,rack,tilt,sinatra}-*/lib")].map(&:to_s))
-
-require "artifice"
-require "sinatra/base"
-
-Artifice.deactivate
-
-class Endpoint500 < Sinatra::Base
- before do
- halt 500
- end
-end
-
-Artifice.activate_with(Endpoint500)