diff options
Diffstat (limited to 'spec/ruby/library/stringio/getch_spec.rb')
-rw-r--r-- | spec/ruby/library/stringio/getch_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/stringio/getch_spec.rb b/spec/ruby/library/stringio/getch_spec.rb index d6f652424e..cd846705de 100644 --- a/spec/ruby/library/stringio/getch_spec.rb +++ b/spec/ruby/library/stringio/getch_spec.rb @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'stringio' -require File.expand_path('../shared/getc', __FILE__) +require_relative 'shared/getc' # This method is added by io/console on require. describe "StringIO#getch" do |