summaryrefslogtreecommitdiff
path: root/spec/ruby/core/process/pid_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/process/pid_spec.rb')
-rw-r--r--spec/ruby/core/process/pid_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/process/pid_spec.rb b/spec/ruby/core/process/pid_spec.rb
index 114b20f11f..42b0b918b9 100644
--- a/spec/ruby/core/process/pid_spec.rb
+++ b/spec/ruby/core/process/pid_spec.rb
@@ -1,9 +1,9 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe "Process.pid" do
it "returns the process id of this process" do
pid = Process.pid
- pid.should be_kind_of(Fixnum)
+ pid.should.is_a?(Integer)
Process.pid.should == pid
end
end