Sha256: 7aa3f917f42ae31c49465a02d7d3ae50b006b17bb3e4af936dd85ade682f576f

Contents?: true

Size: 363 Bytes

Versions: 7

Compression:

Stored size: 363 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::Test
    def test_yamling_hash
      hsh = {:foo => 42}
      reloaded = YAML.load(hsh.to_yaml)

      assert_equal reloaded, hsh
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sup-1.2 test/test_yaml_regressions.rb
sup-1.1 test/test_yaml_regressions.rb
sup-1.0 test/test_yaml_regressions.rb
sup-0.23 test/test_yaml_regressions.rb
sup-0.22.1 test/test_yaml_regressions.rb
sup-0.22.0 test/test_yaml_regressions.rb
sup-0.21.0 test/test_yaml_regressions.rb