Sha256: c29fac858f7005e8735072b4ae4fb14e5aec1c713aa40d41bda24cef2536eaaa

Contents?: true

Size: 373 Bytes

Versions: 3

Compression:

Stored size: 373 Bytes

Contents

require 'test_helper'

# Requiring 'yaml' before 'sup' in 1.9.x would get Psych loaded first
# and becoming the default yamler.
require 'yaml'
require 'sup'

module Redwood
  class TestYamlRegressions < ::Minitest::Unit::TestCase
    def test_yamling_hash
      hsh = {:foo => 42}
      reloaded = YAML.load(hsh.to_yaml)

      assert_equal reloaded, hsh
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sup-0.20.0 test/test_yaml_regressions.rb
sup-0.19.0 test/test_yaml_regressions.rb
sup-0.18.0 test/test_yaml_regressions.rb