summaryrefslogtreecommitdiff
path: root/spec/ruby/library/openstruct/method_missing_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/openstruct/method_missing_spec.rb')
-rw-r--r--spec/ruby/library/openstruct/method_missing_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/openstruct/method_missing_spec.rb b/spec/ruby/library/openstruct/method_missing_spec.rb
index 6051fd48d8..eefe30661a 100644
--- a/spec/ruby/library/openstruct/method_missing_spec.rb
+++ b/spec/ruby/library/openstruct/method_missing_spec.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
require "ostruct"
describe "OpenStruct#method_missing when called with a method name ending in '='" do