summaryrefslogtreecommitdiff
path: root/spec/ruby/core/systemexit
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/systemexit')
-rw-r--r--spec/ruby/core/systemexit/initialize_spec.rb2
-rw-r--r--spec/ruby/core/systemexit/success_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/systemexit/initialize_spec.rb b/spec/ruby/core/systemexit/initialize_spec.rb
index bf5c8b7798..3156ff52c1 100644
--- a/spec/ruby/core/systemexit/initialize_spec.rb
+++ b/spec/ruby/core/systemexit/initialize_spec.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe "SystemExit#initialize" do
it "accepts a status" do
diff --git a/spec/ruby/core/systemexit/success_spec.rb b/spec/ruby/core/systemexit/success_spec.rb
index 038a0e7e4d..6d36509c80 100644
--- a/spec/ruby/core/systemexit/success_spec.rb
+++ b/spec/ruby/core/systemexit/success_spec.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe "SystemExit#success?" do
it "returns true when the status is 0" do