diff options
Diffstat (limited to 'spec/ruby/core/string/next_spec.rb')
| -rw-r--r-- | spec/ruby/core/string/next_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/ruby/core/string/next_spec.rb b/spec/ruby/core/string/next_spec.rb index 6b4a98d993..fcd3e5ef90 100644 --- a/spec/ruby/core/string/next_spec.rb +++ b/spec/ruby/core/string/next_spec.rb @@ -1,11 +1,11 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../fixtures/classes.rb', __FILE__) -require File.expand_path('../shared/succ.rb', __FILE__) +require_relative '../../spec_helper' +require_relative 'fixtures/classes' +require_relative 'shared/succ' describe "String#next" do - it_behaves_like(:string_succ, :next) + it_behaves_like :string_succ, :next end describe "String#next!" do - it_behaves_like(:string_succ_bang, :"next!") + it_behaves_like :string_succ_bang, :"next!" end |
