diff options
-rw-r--r-- | spec/bundler/support/artifice/vcr.rb | 4 | ||||
-rw-r--r-- | spec/bundler/support/helpers.rb | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -3,8 +3,8 @@ require "net/http" require_relative "../path" -CASSETTE_PATH = "#{Spec::Path.spec_dir}/support/artifice/vcr_cassettes" -USED_CASSETTES_PATH = "#{Spec::Path.spec_dir}/support/artifice/used_cassettes.txt" CASSETTE_NAME = ENV.fetch("BUNDLER_SPEC_VCR_CASSETTE_NAME") { "realworld" } class BundlerVCRHTTP < Net::HTTP @@ -43,7 +43,7 @@ module Spec last_command.stderr end - MAJOR_DEPRECATION = /^\[DEPRECATED\]\s*/.freeze def err_without_deprecations err.gsub(/#{MAJOR_DEPRECATION}.+[\n]?/, "") |