Sha256: 261e1e00a512777e40a5c4295fff374390ced69be1709e4f6a19ed5e69cc5ec8
Contents?: true
Size: 574 Bytes
Versions: 1
Compression:
Stored size: 574 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/module/revisal.rb # # Extracted Wed Aug 23 18:22:52 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/module/revisal.rb' require 'test/unit' class TCModule < Test::Unit::TestCase module M def x ; 1 ; end end class C include M.revisal { rename :y, :x } end def test_001 c = C.new assert_raises( NoMethodError ) { c.x } assert_equal( 1, c.y ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.7.30 | test/lib/facets/core/module/test_revisal.rb |