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/ppid_spec.rb
2019-04-28 23:20:11 +02:00

7 lines
201 B
Ruby

require_relative '../../spec_helper'
describe "Process.ppid" do
it "returns the process id of the parent of this process" do
ruby_exe("puts Process.ppid").should == "#{Process.pid}\n"
end
end