Sha256: e1ebb646a2b5effb465b9326f58bec68b8aaff7362b4be4f85622908cfc2627e

Contents?: true

Size: 647 Bytes

Versions: 1

Compression:

Stored size: 647 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/pathize.rb
#
# Extracted Wed Aug 23 18:22:52 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.7.30 test/lib/facets/core/string/test_pathize.rb