aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/complex/numerator_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/complex/numerator_spec.rb')
-rw-r--r--spec/ruby/core/complex/numerator_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/complex/numerator_spec.rb b/spec/ruby/core/complex/numerator_spec.rb
index 322c950a43..527a703dfb 100644
--- a/spec/ruby/core/complex/numerator_spec.rb
+++ b/spec/ruby/core/complex/numerator_spec.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../shared/complex/numerator', __FILE__)
+require_relative '../../shared/complex/numerator'
describe "Complex#numerator" do
it_behaves_like :complex_numerator, :numerator