blob: 9d30fef819e50575b40d65991d7a8b5dfdfbf5ec (
plain)
1
2
3
4
5
6
7
8
|
require_relative '../../spec_helper'
require_relative 'fixtures/common'
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
|