Sha256: eff4edb7099fc470ef53886ae7e22d779bcbdc88590e10aa9a286e7db1dd842e

Contents?: true

Size: 353 Bytes

Versions: 15

Compression:

Stored size: 353 Bytes

Contents

require 'facets/module/spacename.rb'
require 'test/unit'

class TestModuleSpaceName < Test::Unit::TestCase

  def test_spacename
    assert_equal( 'Test::Unit', Test::Unit::TestCase.spacename )
    assert_equal( 'Test::Unit', ::Test::Unit::TestCase.spacename )
    assert_equal( '', Test.spacename )
    assert_equal( '', ::Test.spacename )
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/module/test_spacename.rb
facets-2.8.3 test/core/module/test_spacename.rb
facets-2.8.2 test/core/module/test_spacename.rb
facets-2.8.1 test/core/module/test_spacename.rb
facets-2.8.0 test/core/module/test_spacename.rb
facets-2.7.0 test/core/module/test_spacename.rb
facets-2.6.0 test/core/module/test_spacename.rb
facets-2.4.1 test/module/test_spacename.rb
facets-2.4.2 test/core/module/test_spacename.rb
facets-2.4.4 test/core/module/test_spacename.rb
facets-2.4.3 test/core/module/test_spacename.rb
facets-2.4.5 test/core/module/test_spacename.rb
facets-2.5.1 test/core/module/test_spacename.rb
facets-2.5.0 test/core/module/test_spacename.rb
facets-2.5.2 test/core/module/test_spacename.rb