summaryrefslogtreecommitdiff
path: root/spec/ruby/core/nil/xor_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/nil/xor_spec.rb')
-rw-r--r--spec/ruby/core/nil/xor_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/nil/xor_spec.rb b/spec/ruby/core/nil/xor_spec.rb
index 7f2131e795..b45da9d443 100644
--- a/spec/ruby/core/nil/xor_spec.rb
+++ b/spec/ruby/core/nil/xor_spec.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe "NilClass#^" do
it "returns false if other is nil or false, otherwise true" do