Sha256: 8fa2b48d6a10117a2ea4baf02cd65180dbaea35c08af7287dbf6475653c63655

Contents?: true

Size: 685 Bytes

Versions: 1

Compression:

Stored size: 685 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/modulize.rb
#
# Extracted Wed Jul 05 11:47:50 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/string/modulize.rb'


  require 'test/unit'

  class TCString < Test::Unit::TestCase

    def test_modulize
      assert_equal( 'MyModule::MyClass',   'my_module__my_class'.modulize   )
      assert_equal( '::MyModule::MyClass', '__my_module__my_class'.modulize )
      assert_equal( 'MyModule::MyClass',   'my_module/my_class'.modulize    )
      assert_equal( '::MyModule::MyClass', '/my_module/my_class'.modulize   )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.5 test/lib/facets/core/string/test_modulize.rb