Skip to content

Commit

Permalink
Remove old regression check
Browse files Browse the repository at this point in the history
rspec/rspec-support#581 makes this fail, but its an old "safety" check
and not really needed...
  • Loading branch information
JonRowe committed Jun 26, 2023
1 parent 8caecca commit 50aa170
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions spec/rspec/core_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -346,4 +338,3 @@ def reporter
expect(status.exitstatus).to eq(0)
end
end

0 comments on commit 50aa170

Please sign in to comment.