spec/monkey_patches.rb in vcr-1.6.0 vs spec/monkey_patches.rb in vcr-1.7.0
- old
+ new
@@ -1,14 +1,7 @@
module MonkeyPatches
extend self
- module RSpecMacros
- def without_monkey_patches(scope)
- before(:each) { MonkeyPatches.disable!(scope) }
- after(:each) { MonkeyPatches.enable!(scope) }
- end
- end
-
NET_HTTP_SINGLETON = class << Net::HTTP; self; end
MONKEY_PATCHES = [
[Net::BufferedIO, :initialize],
[Net::HTTP, :request],