[DRE-commits] [ruby-activerecord-nulldb-adapter] 04/06: Update how package test were executed
Lucas Moura
lucasmoura-guest at moszumanska.debian.org
Sat Mar 5 21:23:45 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-activerecord-nulldb-adapter.
commit df517ce1c3b2ad1d84915f1c75f593e1ff04db2a
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date: Sat Mar 5 18:09:47 2016 -0300
Update how package test were executed
---
debian/changelog | 1 +
debian/ruby-tests.rake | 8 +++++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 90aad5e..b901334 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ ruby-activerecord-nulldb-adapter (0.3.2-1) UNRELEASED; urgency=medium
[ Lucas Albuquerque Medeiros de Moura ]
* New upstream release.
* Removing patches already applied on new upstream version.
+ * Update how package test were executed.
-- Sebastien Badia <seb at sebian.fr> Fri, 10 Apr 2015 10:35:35 +0200
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 73b9838..cf1591e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,3 +1,5 @@
-require 'rspec/core/rake_task'
-RSpec::Core::RakeTask.new(:spec)
-task :default => :spec
+require 'gem2deb/rake/spectask'
+
+Gem2Deb::Rake::RSpecTask.new do |spec|
+ spec.pattern = './spec/**/*_spec.rb'
+end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-activerecord-nulldb-adapter.git
More information about the Pkg-ruby-extras-commits
mailing list