From 2f55bd1df3943fff8ee0ee0e55e957f0aea3c49a Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Mon, 26 Jun 2023 11:32:19 +0100 Subject: [PATCH] Remove old regression check rspec/rspec-support#581 makes this fail, but its an old "safety" check and not really needed... --- spec/rspec/core_spec.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/spec/rspec/core_spec.rb b/spec/rspec/core_spec.rb index 3ab8848aa..8397d9672 100644 --- a/spec/rspec/core_spec.rb +++ b/spec/rspec/core_spec.rb @@ -300,14 +300,6 @@ def reporter end end - it 'uses only one thread local variable', :run_last do - # Trigger features that use thread locals... - aggregate_failures { } - RSpec.shared_examples_for("something") { } - - expect(Thread.current.keys.map(&:to_s).grep(/rspec/i).count).to eq(1) - end - describe "::Core.path_to_executable" do it 'returns the absolute location of the exe/rspec file' do expect(File.exist? RSpec::Core.path_to_executable).to be(true) @@ -346,4 +338,3 @@ def reporter expect(status.exitstatus).to eq(0) end end -