blob: 7bffcdc62f9bf76ba9c82c4ec02f10cca824567e (
plain)
1
2
3
4
5
6
7
8
9
10
|
require_relative '../../spec_helper'
require 'yaml'
describe "YAML.parse_file" do
it "returns a YAML::Syck::Map object after parsing a YAML file" do
test_parse_file = fixture __FILE__, "test_yaml.yml"
YAML.parse_file(test_parse_file).should be_kind_of(Psych::Nodes::Document)
end
end
|