Sha256: 38140b43932a97f4192848551c9a71fa1a268401a66707913c209f49a346ae04
Contents?: true
Size: 480 Bytes
Versions: 1
Compression:
Stored size: 480 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/module/wrap.rb # # Extracted Wed Jan 25 11:25:39 EST 2006 # Unit Tools Reap Test Extractor # require 'facet/module/wrap.rb' require 'test/unit' class TCModule < Test::Unit::TestCase def fixture_method; "A"; end wrap( :fixture_method ) { |old| old.call + "B" } def test_wrap assert_equal( "AB", fixture_method ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.0.3 | packages/core/test/lib/facet/module/test_wrap.rb |