summaryrefslogtreecommitdiff
path: root/spec/ruby/library/yaml/parse_file_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/yaml/parse_file_spec.rb')
-rw-r--r--spec/ruby/library/yaml/parse_file_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/ruby/library/yaml/parse_file_spec.rb b/spec/ruby/library/yaml/parse_file_spec.rb
index 8d307c5daf..a29377f163 100644
--- a/spec/ruby/library/yaml/parse_file_spec.rb
+++ b/spec/ruby/library/yaml/parse_file_spec.rb
@@ -1,10 +1,10 @@
require_relative '../../spec_helper'
-require_relative 'fixtures/common'
-describe "YAML#parse_file" do
- quarantine! do
- it "returns a YAML::Syck::Map object after parsing a YAML file" do
- YAML.parse_file($test_parse_file).should be_kind_of(YAML::Syck::Map)
- end
+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.is_a?(Psych::Nodes::Document)
end
end