Sha256: bf2f9cec7b2295b85cda5d670a0ee76b46820354d1a7ef3b369e3ca4256774ca

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/module/rename_method.rb
#
# Extracted Fri Sep 08 20:20:32 EDT 2006
# Unit Tools Reap Test Extractor
#

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


  require 'test/unit'

  class TCModule < Test::Unit::TestCase

    def a; "A" ; end

    rename_method :b, :a

    def test_rename_method
      assert( ! respond_to?( :a ) )
      assert( respond_to?( :b ) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.7.46 test/lib/facets/core/module/test_rename_method.rb