spec/async/container/hybrid_spec.rb in async-container-0.10.0 vs spec/async/container/hybrid_spec.rb in async-container-0.10.1
- old
+ new
@@ -23,22 +23,9 @@
require_relative 'shared_examples'
RSpec.describe Async::Container::Hybrid do
it_behaves_like Async::Container
- it "can run concurrently" do
- subject.run(count: 1, name: "Sleepy Jerry") do |task, instance|
- 3.times do |i|
- puts "Counting Sheep #{i}"
- instance.name = "Counting Sheep #{i}"
-
- # sleep 2
- end
- end
-
- subject.wait
- end
-
it "should be multiprocess" do
expect(described_class).to be_multiprocess
end
end