From 13e97f5fce30e816e9f9674278f9e8e553ac4088 Mon Sep 17 00:00:00 2001 From: Phil Pirozhkov Date: Mon, 15 Mar 2021 21:36:25 +0300 Subject: [PATCH] Temporarily (for 3.99) prevent deprecation failures See https://github.com/rspec/rspec-mocks/pull/1418/checks?check_run_id=2115367793 for an example for RSpec Mocks build failure --- spec/spec_helper.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9e4a3a5231..fb1b77c878 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -80,7 +80,10 @@ def handle_current_dir_change c.disable_monkey_patching! # runtime options - c.raise_errors_for_deprecations! + + # Temporary measure to prevent failures when run in a sub-build from other repos + # c.raise_errors_for_deprecations! + c.include CommonHelpers c.expect_with :rspec do |expectations|