Sha256: c45c63a480d52a524ac768d5bc3d4057b0589eabfc11a24bcb4cbb49fb6c0afc

Contents?: true

Size: 478 Bytes

Versions: 1

Compression:

Stored size: 478 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/nano/module/wrap.rb
#
# Extracted Fri Oct 28 14:20:18 EDT 2005
# Unit Tools Reap Test Extractor
#

require 'nano/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-0.9.0 test/lib/nano/module/test_wrap.rb