summaryrefslogtreecommitdiff
path: root/spec/ruby/core/process/tms/stime_spec.rb
blob: 1e8371475f0d1af2cddcf479a43bc2a9ba59b437 (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#stime" do
  it "returns stime attribute" do
    stime = Object.new
    Process::Tms.new(nil, stime, nil, nil).stime.should == stime
  end
end

describe "Process::Tms#stime=" do
  it "assigns a value to the stime attribute" do
    stime = Object.new
    tms = Process::Tms.new
    tms.stime = stime
    tms.stime.should == stime
  end
end