[DRE-commits] [ruby-plist] 01/01: Update the way package was running tests
Lucas Moura
lucasmoura-guest at moszumanska.debian.org
Fri Mar 4 19:54:56 UTC 2016
This is an automated email from the git hooks/post-receive script.
lucasmoura-guest pushed a commit to branch master
in repository ruby-plist.
commit b9540b43417d9ea54c3d6755120edb3f60116de5
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date: Fri Mar 4 16:50:22 2016 -0300
Update the way package was running tests
---
debian/changelog | 1 +
debian/control | 2 +-
debian/ruby-test-files.yaml | 6 ------
debian/ruby-tests.rake | 7 +++++++
4 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0c4e304..052acc0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ruby-plist (3.2.0-1) unstable; urgency=medium
* Team upload.
* New upstream release.
+ * Update the way package was running tests.
* debian/control: Add line 'Testsuite: autopkgtest-pkg-ruby'
* debian/rules: Add check-dependecies
diff --git a/debian/control b/debian/control
index 5f13b3a..274939e 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
Uploaders: Cédric Boutillier <boutil at debian.org>
Build-Depends: debhelper (>= 9~),
gem2deb,
- ruby-test-unit
+ ruby-rspec
Standards-Version: 3.9.7
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-plist.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-plist.git
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 6c17e35..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,6 +0,0 @@
----
-- test/test_data_elements.rb
-- test/test_generator.rb
-- test/test_generator_basic_types.rb
-- test/test_generator_collections.rb
-- test/test_parser.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..99987ae
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = './spec/*_spec.rb'
+end
+
+task :default => :spec
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-plist.git
More information about the Pkg-ruby-extras-commits
mailing list