Sha256: 36641cd3ecdaf635db08b08de502ea8cab255c248cd8e53f197f52d993bd8807
Contents?: true
Size: 384 Bytes
Versions: 7
Compression:
Stored size: 384 Bytes
Contents
require File.join(File.dirname(__FILE__), "spec_helper") if RUBY_VERSION < "1.9.2" require "safe_yaml/syck_resolver" describe SafeYAML::SyckResolver do let(:resolver) { SafeYAML::SyckResolver.new } let(:result) { @result } def parse(yaml) tree = YAML.parse(yaml.unindent) @result = resolver.resolve_node(tree) end include SharedSpecs end end
Version data entries
7 entries across 7 versions & 1 rubygems