mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
10 lines
231 B
Ruby
10 lines
231 B
Ruby
|
require File.expand_path('../../../spec_helper', __FILE__)
|
||
|
|
||
|
describe "Process.pid" do
|
||
|
it "returns the process id of this process" do
|
||
|
pid = Process.pid
|
||
|
pid.should be_kind_of(Fixnum)
|
||
|
Process.pid.should == pid
|
||
|
end
|
||
|
end
|