Sha256: 4a386682e3bc8bd64ab18bf51360f3da1ef449779a1017113476e9dba104c94f

Contents?: true

Size: 283 Bytes

Versions: 2

Compression:

Stored size: 283 Bytes

Contents

require 'psych/helper'

module Psych
  class TestClass < TestCase
    def test_cycle
      assert_raises(::TypeError) do
        assert_cycle(TestClass)
      end
    end

    def test_dump
      assert_raises(::TypeError) do
        Psych.dump TestClass
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
psych-1.1.1 test/psych/test_class.rb
psych-1.1.0 test/psych/test_class.rb