blob: c39c60a95f291a3466243d84be017d538ae725d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
require File.expand_path('../../../spec_helper', __FILE__)
describe "Process.gid" do
platform_is_not :windows 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
describe "Process.gid=" do
it "needs to be reviewed for spec completeness"
end
|