[DRE-commits] [SCM] ruby-mocha.git branch, master, updated. debian/0.10.3-1-10-gaa00db7

Cédric Boutillier cedric.boutillier at gmail.com
Sun Apr 22 10:01:19 UTC 2012


The following commit has been merged in the master branch:
commit 9dfe76a00465f199725f015e905b69dea539932d
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Sun Apr 22 01:43:25 2012 +0200

    Do not exclude any more tests using introspection with Ruby1.9

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 287bb18..367205d 100755
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,10 +1 @@
-# exclude 6 non-working tests with Ruby 1.9.3
-# https://github.com/floehopper/mocha/issues/41
-
-EXC_TESTS=Array.new
-if RUBY_VERSION =~ /1\.9/
-  EXC_TESTS << "test/acceptance/stub_class_method_defined_on_superclass_test.rb" \
-            << "test/acceptance/stub_class_method_defined_on_module_test.rb"
-end
-
-(Dir['test/{unit,acceptance}/*_test.rb'] - EXC_TESTS).each { |f| require f }
+Dir['test/{unit,acceptance}/*_test.rb'].each { |f| require f }

-- 
ruby-mocha.git



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