[DRE-commits] [ruby-afm] 02/03: use the ruby method to run the tests

Cédric Boutillier boutil at moszumanska.debian.org
Wed Jul 2 16:47:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-afm.

commit d84839be67c11f87d4ced98389de35e89516b57c
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Jul 2 18:30:31 2014 +0200

    use the ruby method to run the tests
---
 debian/changelog            | 1 +
 debian/ruby-test-files.yaml | 3 ---
 debian/ruby-tests.rb        | 2 ++
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4b64288..e784930 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ ruby-afm (0.2.2-1) unstable; urgency=medium
   * Add no_bundler.patch to remove require statements for rubygems and bundler
     in tests.
   * Bump Standards-Version to 3.9.5 (no changes needed)
+  * Use the ruby-tests.rb to run the tests instead of ruby-test-files.yaml
 
  -- Cédric Boutillier <boutil at debian.org>  Wed, 02 Jul 2014 18:13:03 +0200
 
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 6727608..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,3 +0,0 @@
----
-- test/helper.rb
-- test/test_afm.rb
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..1e311dd
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,2 @@
+$: << "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-afm.git



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