fedora-migrator /vendor/gems/facets-2.4.5/test/core/module/test_spacename.rb

Language Ruby Lines 15
MD5 Hash 061a8357b26fac37f72d949f3803f28a Estimated Cost $215 (why?)
Repository https://bitbucket.org/mediashelf/fedora-migrator View Raw File
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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
Back to Top