lib/vcr/http_stubbing_adapters/common.rb in vcr-1.11.1 vs lib/vcr/http_stubbing_adapters/common.rb in vcr-1.11.2
- old
+ new
@@ -73,10 +73,10 @@
end
attr_writer :http_connections_allowed
def http_connections_allowed?
- !!@http_connections_allowed
+ defined?(@http_connections_allowed) && !!@http_connections_allowed
end
def ignored_hosts=(hosts)
@ignored_hosts = hosts
end