Sha256: 6b7c58dacfe583083e54a08a8e45655454583560c970df080e00c254b936662e

Contents?: true

Size: 377 Bytes

Versions: 4

Compression:

Stored size: 377 Bytes

Contents

covers 'facets/string/pathize'

testcase String do

  unit :pathize => "module name" do
    a = "Foo::Base"
    x = "foo/base"
    a.pathize.assert == x
  end

  unit :pathize => "path name" do
    a = "foo/base"
    x = "foo/base"
    a.pathize.assert == x
  end

  unit :pathize => "name space" do
    a = "foo__base"
    x = "foo/base"
    a.pathize.assert == x
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/string/test_pathize.rb
facets-2.9.0 test/core/string/test_pathize.rb
facets-2.9.0.pre.2 test/core/string/test_pathize.rb
facets-2.9.0.pre.1 test/core/string/test_pathize.rb