Sha256: b4db7be062987eb8d69652dde5041d51be8bcaa3ae9cd1ce9cf35902ebdb673b
Contents?: true
Size: 284 Bytes
Versions: 5
Compression:
Stored size: 284 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' require 'process_extensions' describe ProcessExtensions do it 'should tell if a process exists' do begin pid = fork { sleep } Process.should exist(pid) ensure Process.kill('KILL', pid) end end end
Version data entries
5 entries across 5 versions & 1 rubygems