diff options
Diffstat (limited to 'spec/ruby/library/yaml/load_stream_spec.rb')
| -rw-r--r-- | spec/ruby/library/yaml/load_stream_spec.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/ruby/library/yaml/load_stream_spec.rb b/spec/ruby/library/yaml/load_stream_spec.rb index f134f4642f..31bc862f5e 100644 --- a/spec/ruby/library/yaml/load_stream_spec.rb +++ b/spec/ruby/library/yaml/load_stream_spec.rb @@ -1,7 +1,8 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../fixtures/common', __FILE__) -require File.expand_path('../fixtures/strings', __FILE__) -require File.expand_path('../shared/each_document', __FILE__) +require_relative '../../spec_helper' +require_relative 'fixtures/strings' +require_relative 'shared/each_document' + +require 'yaml' describe "YAML.load_stream" do it_behaves_like :yaml_each_document, :load_stream |
