[DRE-commits] [SCM] ruby-treetop.git branch, master, updated. debian/1.4.10-2-2-gbe3a3bd
Cédric Boutillier
cedric.boutillier at gmail.com
Thu Mar 29 23:40:50 UTC 2012
The following commit has been merged in the master branch:
commit be3a3bdd705fe6e79bc45db38d78d44d15781362
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date: Fri Mar 30 01:33:27 2012 +0200
Modify ruby-tests.rb to use rspec/autorun and to load only *_spec.rb files
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index f6d0a8a..2a92ad6 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1 +1,2 @@
-Dir['{spec}/**/*.rb'].each { |f| require f }
+require "rspec/autorun"
+Dir['{spec}/**/*_spec.rb'].each { |f| require f }
--
ruby-treetop.git
More information about the Pkg-ruby-extras-commits
mailing list