Sha256: 90b720676345b71fd0414541aa148c126dc6cc7080a4258dd65bc49256a087dd

Contents?: true

Size: 647 Bytes

Versions: 1

Compression:

Stored size: 647 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/pathize.rb
#
# Extracted Mon Jun 05 08:14:29 EDT 2006
# Unit Tools Reap Test Extractor
#

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


  require 'test/unit'

  class TCString < Test::Unit::TestCase

    def test_pathize
      assert_equal( 'my_module/my_class',   'MyModule::MyClass'.pathize )
      assert_equal( 'u_r_i',                'URI'.pathize )
      assert_equal( '/my_class',            '::MyClass'.pathize )
      assert_equal( '/my_module/my_class/', '/my_module/my_class/'.pathize )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.0 test/lib/facets/core/string/test_pathize.rb