diff options
Diffstat (limited to 'spec/ruby/library/stringio/each_codepoint_spec.rb')
| -rw-r--r-- | spec/ruby/library/stringio/each_codepoint_spec.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/ruby/library/stringio/each_codepoint_spec.rb b/spec/ruby/library/stringio/each_codepoint_spec.rb index 25a0bf4c81..f18de22aad 100644 --- a/spec/ruby/library/stringio/each_codepoint_spec.rb +++ b/spec/ruby/library/stringio/each_codepoint_spec.rb @@ -1,10 +1,9 @@ # -*- encoding: utf-8 -*- -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../fixtures/classes', __FILE__) -require File.expand_path('../shared/codepoints', __FILE__) +require_relative '../../spec_helper' +require_relative 'fixtures/classes' +require_relative 'shared/codepoints' # See redmine #1667 describe "StringIO#each_codepoint" do - it_behaves_like(:stringio_codepoints, :codepoints) + it_behaves_like :stringio_codepoints, :each_codepoint end - |
