Sha256: 281b79ef58c17a36f9687bfc7febe50004729e3166ae23ce17aa5929a87d8c0a
Contents?: true
Size: 425 Bytes
Versions: 11
Compression:
Stored size: 425 Bytes
Contents
require 'facets/string/pathize' require 'test/unit' class TC_String_Methodize < Test::Unit::TestCase def test_pathize_modulename a = "Foo::Base" r = "foo/base" assert_equal(r, a.pathize) end def test_pathize_pathname a = "foo/base" r = "foo/base" assert_equal(r, a.pathize) end def test_pathize_namespace a = "foo__base" r = "foo/base" assert_equal(r, a.pathize) end end
Version data entries
11 entries across 11 versions & 1 rubygems