[DRE-commits] [ruby-loofah] 07/10: use the rb method to run the tests
Cédric Boutillier
boutil at moszumanska.debian.org
Fri Apr 24 15:12:01 UTC 2015
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-loofah.
commit e2e6f35b298501173353893729852b52b4de09ba
Author: Cédric Boutillier <boutil at debian.org>
Date: Fri Apr 24 17:00:28 2015 +0200
use the rb method to run the tests
---
debian/ruby-test-files.yaml | 12 ------------
debian/ruby-tests.rb | 3 +++
2 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index f8131e7..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-- test/html5/test_sanitizer.rb
-- test/unit/test_helpers.rb
-- test/unit/test_scrubbers.rb
-- test/unit/test_scrubber.rb
-- test/unit/test_encoding.rb
-- test/unit/test_api.rb
-- test/integration/test_helpers.rb
-- test/integration/test_xml.rb
-- test/integration/test_ad_hoc.rb
-- test/integration/test_scrubbers.rb
-- test/integration/test_html.rb
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..2da7ae9
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,3 @@
+require "minitest"
+$LOAD_PATH << "test/"
+Dir.glob("test/**/test_*.rb").each { |f| require f }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-loofah.git
More information about the Pkg-ruby-extras-commits
mailing list