summaryrefslogtreecommitdiff
path: root/spec/ruby/core/process/pid_spec.rb
blob: c5947ab50dda2d13569aa9fa0f4de20dcd8d701c (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(Fixnum)
    Process.pid.should == pid
  end
end