mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[bundler/bundler] Fix thread leak in compact index specs
This spec was not stopping threads after itself. That would cause the previous spec in the file (that checks that no threads are left behind) to fail. https://github.com/bundler/bundler/commit/81ad85b92d
This commit is contained in:
parent
a12557dbfd
commit
e59b57a3a7
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ RSpec.describe Bundler::Fetcher::CompactIndex do
|
|||
end
|
||||
|
||||
it "calls worker#stop during the run" do
|
||||
expect_any_instance_of(Bundler::Worker).to receive(:stop).at_least(:once)
|
||||
expect_any_instance_of(Bundler::Worker).to receive(:stop).at_least(:once).and_call_original
|
||||
|
||||
compact_index.specs_for_names(["lskdjf"])
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue