aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/float/prev_float_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/float/prev_float_spec.rb')
-rw-r--r--spec/ruby/core/float/prev_float_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/float/prev_float_spec.rb b/spec/ruby/core/float/prev_float_spec.rb
index e07d78c44c..40fcc25a6d 100644
--- a/spec/ruby/core/float/prev_float_spec.rb
+++ b/spec/ruby/core/float/prev_float_spec.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe "Float#prev_float" do
it "returns a float the smallest possible step smaller than the receiver" do