summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/support/artifice/fail.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/artifice/fail.rb b/spec/support/artifice/fail.rb
index 572fa5613e..1059c6df4e 100644
--- a/spec/support/artifice/fail.rb
+++ b/spec/support/artifice/fail.rb
@@ -9,6 +9,8 @@ end
# We can't use artifice here because it uses rack
+module Artifice; end # for < 2.0, Net::HTTP::Persistent::SSLReuse
+
class Fail < Net::HTTP
# Net::HTTP uses a @newimpl instance variable to decide whether
# to use a legacy implementation. Since we are subclassing