Sha256: 30ebe5014d106779fee7db0f8aff474aa471bd0d00a4f35baa01f4ab412b3c0c

Contents?: true

Size: 538 Bytes

Versions: 1

Compression:

Stored size: 538 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/yore/module/namespace.rb
#
# Extracted Fri Feb 16 02:00:37 EST 2007
# Project.rb Test Extraction
#

require 'facets/yore/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.8.49 test/lib/facets/yore/module/test_namespace.rb