Sha256: 26ab43265041d09bd8e90aab1ee0ee85b703aa00415ccc339a4aa30d1aeabb85

Contents?: true

Size: 542 Bytes

Versions: 1

Compression:

Stored size: 542 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/module/namespace.rb
#
# Extracted Mon Jun 05 08:14:29 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/module/namespace.rb'


  require 'test/unit'

  class TCModule < Test::Unit::TestCase

    class MockObject
      namespace(:hope) {
        def watch ; 'watch' ; end
      }
    end

    def test_namespace
      m = MockObject.new
      assert_equal( 'watch', m.hope.watch )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.0 test/lib/facets/core/module/test_namespace.rb