Sha256: b519e6ac45b8d5091be577c551b4b6f67e7e0559f14a0637d03e6708663b309c
Contents?: true
Size: 488 Bytes
Versions: 52
Compression:
Stored size: 488 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' describe "Process.gid" do it "returns the correct gid for the user executing this process" do current_gid_according_to_unix = `id -gr`.to_i Process.gid.should == current_gid_according_to_unix end it "also goes by Process::GID.rid" do Process::GID.rid.should == Process.gid end it "also goes by Process::Sys.getgid" do Process::Sys.getgid.should == Process.gid end end
Version data entries
52 entries across 52 versions & 1 rubygems