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