aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/core/process/egid_spec.rb
blob: 316343944c848e239d16c3335002de15807073ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require File.expand_path('../../../spec_helper', __FILE__)

describe "Process.egid" do
  it "returns the effective group ID for this process" do
    Process.egid.should be_kind_of(Integer)
  end

  it "also goes by Process::GID.eid" do
    Process::GID.eid.should == Process.egid
  end

  it "also goes by Process::Sys.getegid" do
    Process::Sys.getegid.should == Process.egid
  end
end

describe "Process.egid=" do
  it "needs to be reviewed for spec completeness"
end