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