summaryrefslogtreecommitdiff
path: root/spec/ruby/core/module/const_defined_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/module/const_defined_spec.rb')
-rw-r--r--spec/ruby/core/module/const_defined_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/module/const_defined_spec.rb b/spec/ruby/core/module/const_defined_spec.rb
index 0789a03e1c..cb1674c7e7 100644
--- a/spec/ruby/core/module/const_defined_spec.rb
+++ b/spec/ruby/core/module/const_defined_spec.rb
@@ -1,8 +1,8 @@
# encoding: utf-8
-require File.expand_path('../../../spec_helper', __FILE__)
-require File.expand_path('../../../fixtures/constants', __FILE__)
-require File.expand_path('../fixtures/constant_unicode', __FILE__)
+require_relative '../../spec_helper'
+require_relative '../../fixtures/constants'
+require_relative 'fixtures/constant_unicode'
describe "Module#const_defined?" do
it "returns true if the given Symbol names a constant defined in the receiver" do