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