blob: f0578fa800e87ebb87d70c8aa16ca4545654c251 (
plain)
1
2
3
4
5
6
7
8
9
|
require_relative '../../spec_helper'
require 'yaml'
describe "YAML.dump_stream" do
it "returns a YAML stream containing the objects passed" do
YAML.dump_stream('foo', 20, [], {}).should match_yaml("--- foo\n--- 20\n--- []\n\n--- {}\n\n")
end
end
|