Sha256: 9d955c077da538b18ab19fefab968c99c05252c3ed609894956cfe7b507b020c

Contents?: true

Size: 539 Bytes

Versions: 9

Compression:

Stored size: 539 Bytes

Contents

  #  _____         _
  # |_   _|__  ___| |_
  #   | |/ _ \/ __| __|
  #   | |  __/\__ \ |
  #   |_|\___||___/\__|
  #
  # for lib/facets/cut.rb
  #
  # Extracted Mon Sep 03 16:23:07 -0700 2007
  # w/ Test Extraction Ratchet
  #

 require 'facets/cut.rb'



  require 'test/unit'

  class TestCut < Test::Unit::TestCase

    class X
      def x; "x"; end
    end

    Xc = Cut.new(X) do
      def x; '{' + super + '}'; end
    end

    def test_method_is_wrapped_by_advice
       o = X.new
       assert_equal("{x}", o.x)
    end

  end



Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
facets-2.0.0 test/unit/test_cut.rb
facets-2.0.1 test/unit/test_cut.rb
facets-2.0.2 test/unit/test_cut.rb
facets-2.0.4 test/unit/test_cut.rb
facets-2.1.0 test/unit/test_cut.rb
facets-2.1.1 test/unit/test_cut.rb
facets-2.1.2 test/unit/test_cut.rb
facets-2.0.5 test/unit/test_cut.rb
facets-2.0.3 test/unit/test_cut.rb