summaryrefslogtreecommitdiff
path: root/spec/ruby/core/process/waitpid2_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/process/waitpid2_spec.rb')
-rw-r--r--spec/ruby/core/process/waitpid2_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/ruby/core/process/waitpid2_spec.rb b/spec/ruby/core/process/waitpid2_spec.rb
index 303c59fda3..70fe0fbeee 100644
--- a/spec/ruby/core/process/waitpid2_spec.rb
+++ b/spec/ruby/core/process/waitpid2_spec.rb
@@ -1,5 +1,7 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe "Process.waitpid2" do
- it "needs to be reviewed for spec completeness"
+ it "is an alias of Process.wait2" do
+ Process.method(:waitpid2).should == Process.method(:wait2)
+ end
end