summaryrefslogtreecommitdiff
path: root/spec/ruby/library/yaml/load_stream_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/yaml/load_stream_spec.rb')
-rw-r--r--spec/ruby/library/yaml/load_stream_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/library/yaml/load_stream_spec.rb b/spec/ruby/library/yaml/load_stream_spec.rb
new file mode 100644
index 0000000000..31bc862f5e
--- /dev/null
+++ b/spec/ruby/library/yaml/load_stream_spec.rb
@@ -0,0 +1,9 @@
+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
+end