blob: 9c2d9e8632e218abd31f4bfed7622b81314ea9b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
require_relative '../../../spec_helper'
describe "Process::Tms#cstime" do
it "returns cstime attribute" do
cstime = Object.new
Process::Tms.new(nil, nil, nil, cstime).cstime.should == cstime
end
end
describe "Process::Tms#cstime=" do
it "assigns a value to the cstime attribute" do
cstime = Object.new
tms = Process::Tms.new
tms.cstime = cstime
tms.cstime.should == cstime
end
end
|