Skip to content

Instantly share code, notes, and snippets.

@jrussett
Created December 26, 2017 17:24
Show Gist options
  • Save jrussett/c013c87697698710e4b7660e00331e5b to your computer and use it in GitHub Desktop.
Save jrussett/c013c87697698710e4b7660e00331e5b to your computer and use it in GitHub Desktop.
diff --git a/src/bosh-director/spec/spec_helper.rb b/src/bosh-director/spec/spec_helper.rb
index 1b6bc561b8..1e707cb0ed 100644
--- a/src/bosh-director/spec/spec_helper.rb
+++ b/src/bosh-director/spec/spec_helper.rb
@@ -228,11 +228,11 @@ RSpec.configure do |rspec|
allow(Bosh::Director::Config).to receive(:cloud).and_return(instance_double(Bosh::Clouds::ExternalCpi))
- threadpool = instance_double(Bosh::Director::ThreadPool)
- allow(Bosh::Director::ThreadPool).to receive(:new).and_return(threadpool)
- allow(threadpool).to receive(:wrap).and_yield(threadpool)
- allow(threadpool).to receive(:process).and_yield
- allow(threadpool).to receive(:wait)
+ # threadpool = instance_double(Bosh::Director::ThreadPool)
+ # allow(Bosh::Director::ThreadPool).to receive(:new).and_return(threadpool)
+ # allow(threadpool).to receive(:wrap).and_yield(threadpool)
+ # allow(threadpool).to receive(:process).and_yield
+ # allow(threadpool).to receive(:wait)
end
rspec.after(:each) { Timecop.return }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment