spec/async/container/hybrid_spec.rb in async-container-0.15.0 vs spec/async/container/hybrid_spec.rb in async-container-0.16.0
- old
+ new
@@ -16,14 +16,17 @@
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-require "async/container/hybrid"
+require 'async/container/hybrid'
+require 'async/container/best'
require_relative 'shared_examples'
RSpec.describe Async::Container::Hybrid, if: Async::Container.fork? do
+ subject {described_class.new}
+
it_behaves_like Async::Container
it "should be multiprocess" do
expect(described_class).to be_multiprocess
end