Sha256: 5de52b499194813c1f28b1d9747574de97d9879a0bc279a8e31e8bf8dc2f64c6

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/module/rename_method.rb
#
# Extracted Mon Jun 05 08:14:29 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.4.0 test/lib/facets/core/module/test_rename_method.rb