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

Version Path
safe_yaml-0.6.3 spec/syck_resolver_spec.rb
safe_yaml-0.6.2 spec/syck_resolver_spec.rb
safe_yaml-0.6.1 spec/syck_resolver_spec.rb
safe_yaml-0.5.2 spec/syck_resolver_spec.rb
safe_yaml-0.5.1 spec/syck_resolver_spec.rb
safe_yaml-0.5 spec/syck_resolver_spec.rb
safe_yaml-0.4 spec/syck_resolver_spec.rb