summaryrefslogtreecommitdiff
path: root/spec/support/artifice/vcr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/artifice/vcr.rb')
-rw-r--r--spec/support/artifice/vcr.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/support/artifice/vcr.rb b/spec/support/artifice/vcr.rb
index edd2f49a91..1e3809ff62 100644
--- a/spec/support/artifice/vcr.rb
+++ b/spec/support/artifice/vcr.rb
@@ -1,13 +1,6 @@
# frozen_string_literal: true
require "net/http"
-if RUBY_VERSION < "1.9"
- begin
- require "net/https"
- rescue LoadError
- nil # net/https or openssl
- end
-end # but only for 1.8
CASSETTE_PATH = File.expand_path("../vcr_cassettes", __FILE__)
CASSETTE_NAME = ENV.fetch("BUNDLER_SPEC_VCR_CASSETTE_NAME") { "realworld" }