Sha256: e0a732b28a67b8706b3dcd60eaac88aa2c603932944d2d137c61ff3be95db205
Contents?: true
Size: 532 Bytes
Versions: 31
Compression:
Stored size: 532 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' describe "Process.gid" do platform_is_not :android 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 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
31 entries across 31 versions & 1 rubygems