[DRE-commits] [SCM] ruby-hoe.git branch, master, updated. upstream/2.9.4-24-g40b55a2

Ondřej Surý ondrej at sury.org
Wed Apr 25 10:24:01 UTC 2012


The following commit has been merged in the master branch:
commit 40b55a21d52d6230676949477fcceb528b09c88f
Author: Ondřej Surý <ondrej at sury.org>
Date:   Wed Apr 25 12:21:15 2012 +0200

    Disable rubygems test

diff --git a/debian/patches/disable-tests.patch b/debian/patches/disable-tests.patch
index 33765d9..3e913a0 100644
--- a/debian/patches/disable-tests.patch
+++ b/debian/patches/disable-tests.patch
@@ -1,13 +1,19 @@
-Description: Disable tests until minitest is available.
+Description: Disable rubygems test
 
---- ruby-hoe-2.9.4.orig/test/test_hoe_test.rb
-+++ ruby-hoe-2.9.4/test/test_hoe_test.rb
-@@ -18,7 +18,7 @@ class TestHoeTest < MiniTest::Unit::Test
-     end
+--- a/test/test_hoe.rb
++++ b/test/test_hoe.rb
+@@ -124,10 +124,10 @@ class TestHoe < MiniTest::Unit::TestCase
+     ENV['HOME'] = home
    end
  
--  def test_make_test_cmd_with_different_testlibs
-+  def est_make_test_cmd_with_different_testlibs
-     expected = ['-w -Ilib:bin:test:. -e \'require "rubygems"; %s',
-                 'require "test/test_hoe.rb"; ',
-                 'require "test/test_hoe_gemcutter.rb"; ',
+-  def test_have_gem_eh
+-    assert hoe.have_gem? 'rake'
+-    refute hoe.have_gem? 'nonexistent'
+-  end
++#  def test_have_gem_eh
++#    assert hoe.have_gem? 'rake'
++#    refute hoe.have_gem? 'nonexistent'
++#  end
+ 
+   def test_initialize_plugins_hoerc
+     home = ENV['HOME']

-- 
ruby-hoe.git



More information about the Pkg-ruby-extras-commits mailing list