spec/async/container/forked_spec.rb in async-container-0.14.1 vs spec/async/container/forked_spec.rb in async-container-0.15.0

- old
+ new

@@ -16,14 +16,15 @@ # 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" require "async/container/forked" require_relative 'shared_examples' -RSpec.describe Async::Container::Forked do +RSpec.describe Async::Container::Forked, if: Async::Container.fork? do it_behaves_like Async::Container it "can restart child" do trigger = IO.pipe pids = IO.pipe