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