summaryrefslogtreecommitdiff
path: root/test/test_tempfile.rb
blob: c4234e551da27bd5f994b8d6fb4d0e3e63c66792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'test/unit'
require 'tempfile'

class TestTempfile < Test::Unit::TestCase
  module M
  end

  def test_extend
    o = Tempfile.new("foo")
    o.extend M
    assert(M === o, "[ruby-dev:32932]")
  end
end