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

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Mon Jun 29 21:43:03 UTC 2015


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 3f3f9174388ef4a90ba9bf9eff1713f7a2fc77e3
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 | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index dcc1601..a421d36 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(:spec) do |t|
+  t.libs.push "lib"
+  t.test_files = FileList["spec/**/*_spec.rb"]
+  t.verbose = true
 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