[DRE-commits] [ruby-plist] 01/01: Replace rspec on ruby-tests.rake for rake
Lucas Moura
lucasmoura-guest at moszumanska.debian.org
Fri Mar 4 20:16:47 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 bf8f50ff013d122f42328bd2deaf4d78b10d5aec
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date: Fri Mar 4 17:00:40 2016 -0300
Replace rspec on ruby-tests.rake for rake
---
debian/changelog | 1 +
debian/control | 2 +-
debian/ruby-tests.rake | 10 ++++++----
3 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 052acc0..16283d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-plist (3.2.0-1) unstable; urgency=medium
* Team upload.
* New upstream release.
* Update the way package was running tests.
+ - Use both rake and ruby-tests.rake.
* debian/control: Add line 'Testsuite: autopkgtest-pkg-ruby'
* debian/rules: Add check-dependecies
diff --git a/debian/control b/debian/control
index 274939e..7d3aff0 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-rspec
+ rake
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-tests.rake b/debian/ruby-tests.rake
index 99987ae..0c1bb5e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,9 @@
-require 'rspec/core/rake_task'
+require 'rake/testtask'
-RSpec::Core::RakeTask.new(:spec) do |spec|
- spec.pattern = './spec/*_spec.rb'
+Rake::TestTask.new(:test) do |t|
+ t.libs << "test"
+ t.test_files = FileList['test/test_*.rb']
+ t.verbose = true
end
-task :default => :spec
+task :default => [:test]
--
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