[DRE-commits] [test-kitchen] 03/39: Use minitest/spec instead of rspec to run tests

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Fri Aug 5 12:46:49 UTC 2016


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

tsfgnu-guest pushed a commit to branch master
in repository test-kitchen.

commit f08db5317f69a3b5a89e1dd1138341a84170bc64
Author: Hleb Valoshka <375gnu at gmail.com>
Date:   Tue Jun 30 00:00:12 2015 +0300

    Use minitest/spec instead of rspec to run tests
---
 debian/ruby-tests.rake | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index dcc1601..bcdb614 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,4 @@
-require 'rspec/core/rake_task'
-
-RSpec::Core::RakeTask.new(:spec) do |spec|
-  spec.pattern = './spec/**/*_spec.rb'
+require 'gem2deb/rake/testtask'
+Gem2Deb::Rake::TestTask.new do |t|
+  t.test_files = FileList['spec/**/*_spec.rb']
 end
-
-task :default => :spec

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/test-kitchen.git



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