1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/process/pid_spec.rb
2020-12-21 01:19:55 +09:00

9 lines
210 B
Ruby

require_relative '../../spec_helper'
describe "Process.pid" do
it "returns the process id of this process" do
pid = Process.pid
pid.should be_kind_of(Integer)
Process.pid.should == pid
end
end