Sha256: ed40b7639f7a099de2c728aaf7f0b10aec9d8b76280026d1ec3afdc31b85612a
Contents?: true
Size: 350 Bytes
Versions: 56
Compression:
Stored size: 350 Bytes
Contents
require File.expand_path('../spec_helper', __FILE__) shared_examples_for "a platform that provides the child's pid" do it "knows the child's pid" do Tempfile.open("pid-spec") do |file| process = write_pid(file.path).start process.wait expect(process.pid).to eq rewind_and_read(file).chomp.to_i end end end
Version data entries
56 entries across 42 versions & 5 rubygems