summaryrefslogtreecommitdiff
path: root/spec/ruby/core/process/pid_spec.rb
blob: 2d008bc4b7485e27d5ec0137ba9f6746afdf6a0d (plain)
1
2
3
4
5
6
7
8
9
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