Sha256: 462384af3f4a03d20041a4cc0deabc444c4344e6aed56d0c15a2dbf7772cb137
Contents?: true
Size: 338 Bytes
Versions: 67
Compression:
Stored size: 338 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
67 entries across 54 versions & 9 rubygems