Sha256: 26a1f1ab92663e1689058890baae6b81e32e9a08935e6bccc8b9eb9d25fac58c
Contents?: true
Size: 369 Bytes
Versions: 24
Compression:
Stored size: 369 Bytes
Contents
require File.join(File.dirname(__FILE__), 'test_helper') class Hirb::ImportTest < Test::Unit::TestCase test "require import_object extends Object" do Object.ancestors.map {|e| e.to_s}.include?("Hirb::ObjectMethods").should be(false) require 'hirb/import_object' Object.ancestors.map {|e| e.to_s}.include?("Hirb::ObjectMethods").should be(true) end end
Version data entries
24 entries across 24 versions & 3 rubygems