|
|
|
|
|
by radiospiel
1094 days ago
|
|
more correct would probably be threads = []
3.times.map do
Thread.new do
service.call
end
end
threads.each(&:join)
But whether or not multithreading is really available within the test setup, and also whether or not the database adapter runs via different connections is something that one wanted to validate. |
|