Sha256: 07e4708e521c2e348992e94ec5ce82cff217d7454457dfa93daf9c8e22086621
Contents?: true
Size: 353 Bytes
Versions: 7
Compression:
Stored size: 353 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.poll_for_exit(10) file.rewind process.pid.should == file.read.chomp.to_i end end end
Version data entries
7 entries across 7 versions & 1 rubygems