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

9 lines
243 B
Ruby

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