spec/async/container_spec.rb in async-container-0.2.2 vs spec/async/container_spec.rb in async-container-0.3.0
- old
+ new
@@ -30,6 +30,10 @@
container.stop
expect(count).to be == 1
end
+
+ it "can get hardware concurrency" do
+ expect(Async::Container.hardware_concurrency).to be >= 1
+ end
end