From 4a6615a027fd17c6fbf7155345a7a77e040f7abc Mon Sep 17 00:00:00 2001 From: Samuel Giddins Date: Thu, 22 Dec 2016 00:18:21 +0100 Subject: Define the artifice module in fail.rb This is so persistent will use our override class --- spec/support/artifice/fail.rb | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.1