summaryrefslogtreecommitdiff
path: root/spec/bundler/support/artifice/endpoint_marshal_fail.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/support/artifice/endpoint_marshal_fail.rb')
-rw-r--r--spec/bundler/support/artifice/endpoint_marshal_fail.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/spec/bundler/support/artifice/endpoint_marshal_fail.rb b/spec/bundler/support/artifice/endpoint_marshal_fail.rb
index 22c13e3e17..74ce321de6 100644
--- a/spec/bundler/support/artifice/endpoint_marshal_fail.rb
+++ b/spec/bundler/support/artifice/endpoint_marshal_fail.rb
@@ -1,13 +1,6 @@
# frozen_string_literal: true
-require_relative "endpoint_fallback"
-
-Artifice.deactivate
-
-class EndpointMarshalFail < EndpointFallback
- get "/api/v1/dependencies" do
- "f0283y01hasf"
- end
-end
+require_relative "helpers/endpoint_marshal_fail"
+require_relative "helpers/artifice"
Artifice.activate_with(EndpointMarshalFail)