Sha256: da602c7750a3fa45cb21c107528387716c2ed0f78ca0c82ea776283511ad798f

Contents?: true

Size: 564 Bytes

Versions: 1

Compression:

Stored size: 564 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/module/by_name.rb
#
# Extracted Fri Feb 16 02:00:36 EST 2007
# Project.rb Test Extraction
#

require 'facets/core/module/by_name.rb'


  require 'test/unit'

  class TCModule < Test::Unit::TestCase

    def test_by_name
      c = ::Test::Unit::TestCase.name
      assert_equal( ::Test::Unit::TestCase, Module.by_name(c) )
      c = "Test::Unit::TestCase"
      assert_equal( ::Test::Unit::TestCase, Class.by_name(c) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.8.49 test/lib/facets/core/module/test_by_name.rb