[DRE-commits] [ruby-progressbar] 07/12: Update the way tests are run
Hleb Valoshka
tsfgnu-guest at moszumanska.debian.org
Mon Jun 22 10:58:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
tsfgnu-guest pushed a commit to branch master
in repository ruby-progressbar.
commit 93b69aaabc0b336805ea923f206bb7d5f104afc0
Author: Hleb Valoshka <375gnu at gmail.com>
Date: Thu Jun 4 17:59:30 2015 +0300
Update the way tests are run
---
debian/ruby-tests.rake | 7 +++++++
debian/ruby-tests.rb | 2 --
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..dcc1601
--- /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
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 54d5486..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-# a VERY simple test, since upstream provides none
-require 'test/test'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-progressbar.git
More information about the Pkg-ruby-extras-commits
mailing list