diff options
Diffstat (limited to 'spec/ruby/core/process/tms/cstime_spec.rb')
| -rw-r--r-- | spec/ruby/core/process/tms/cstime_spec.rb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/spec/ruby/core/process/tms/cstime_spec.rb b/spec/ruby/core/process/tms/cstime_spec.rb index 207d4391c0..9c2d9e8632 100644 --- a/spec/ruby/core/process/tms/cstime_spec.rb +++ b/spec/ruby/core/process/tms/cstime_spec.rb @@ -1,9 +1,17 @@ require_relative '../../../spec_helper' describe "Process::Tms#cstime" do - it "needs to be reviewed for spec completeness" + 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 "needs to be reviewed for spec completeness" + 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 |
