summaryrefslogtreecommitdiff
path: root/spec/ruby/core/process/tms/utime_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/process/tms/utime_spec.rb')
-rw-r--r--spec/ruby/core/process/tms/utime_spec.rb12
1 files changed, 10 insertions, 2 deletions
diff --git a/spec/ruby/core/process/tms/utime_spec.rb b/spec/ruby/core/process/tms/utime_spec.rb
index 28371590e9..403a31e2e6 100644
--- a/spec/ruby/core/process/tms/utime_spec.rb
+++ b/spec/ruby/core/process/tms/utime_spec.rb
@@ -1,9 +1,17 @@
require_relative '../../../spec_helper'
describe "Process::Tms#utime" do
- it "needs to be reviewed for spec completeness"
+ it "returns utime attribute" do
+ utime = Object.new
+ Process::Tms.new(utime, nil, nil, nil).utime.should == utime
+ end
end
describe "Process::Tms#utime=" do
- it "needs to be reviewed for spec completeness"
+ it "assigns a value to the ctime attribute" do
+ utime = Object.new
+ tms = Process::Tms.new
+ tms.utime = utime
+ tms.utime.should == utime
+ end
end