Sha256: 0fb74019d3677fdb5c115a5837c6a27ff217a9ff707c17bbd139a034d40ccf14

Contents?: true

Size: 242 Bytes

Versions: 4

Compression:

Stored size: 242 Bytes

Contents

covers 'facets/module/remove'

testcase Module do

  unit :remove do
    c = Class.new do
      def the_removed_method ; 'not here' ; end
      remove :the_removed_method
    end

    c.new.refute.respond_to?(:the_removed_method)
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/module/test_remove.rb
facets-2.9.0 test/core/module/test_remove.rb
facets-2.9.0.pre.2 test/core/module/test_remove.rb
facets-2.9.0.pre.1 test/core/module/test_remove.rb