spec/async/container_spec.rb in async-container-0.12.0 vs spec/async/container_spec.rb in async-container-0.13.0

- old
+ new

@@ -22,6 +22,18 @@ RSpec.describe Async::Container do it "can get processor count" do expect(Async::Container.processor_count).to be >= 1 end + + it "can get best container class" do + expect(Async::Container.best_container_class).to_not be_nil + end + + subject {Async::Container.new} + + it "can get best container class" do + expect(subject).to_not be_nil + + subject.stop + end end