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

Version Path
Chrononaut-hirb-0.2.1 test/import_test.rb
Chrononaut-hirb-0.2.3 test/import_test.rb
cldwalker-hirb-0.1.0 test/import_test.rb
cldwalker-hirb-0.1.1 test/import_test.rb
cldwalker-hirb-0.1.2 test/import_test.rb
cldwalker-hirb-0.2.0 test/import_test.rb
cldwalker-hirb-0.2.1 test/import_test.rb
cldwalker-hirb-0.2.2 test/import_test.rb
cldwalker-hirb-0.2.3 test/import_test.rb
cldwalker-hirb-0.2.4 test/import_test.rb
cldwalker-hirb-0.2.5 test/import_test.rb
cldwalker-hirb-0.2.6 test/import_test.rb
hirb-0.3.1 test/import_test.rb
hirb-0.3.0 test/import_test.rb
hirb-0.2.10 test/import_test.rb
hirb-0.2.9 test/import_test.rb
hirb-0.2.8 test/import_test.rb
hirb-0.2.7 test/import_test.rb
hirb-0.2.6 test/import_test.rb
hirb-0.2.2 test/import_test.rb