[DRE-commits] [ruby-licensee] 03/08: use rspec for testing

Sagar Ippalpalli isaagar-guest at moszumanska.debian.org
Wed Aug 2 03:27:56 UTC 2017


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

isaagar-guest pushed a commit to branch master
in repository ruby-licensee.

commit 0597065121004af79ee7bbfd9abd2ed29a279726
Author: Sagar Ippalpalli <i.vikram15 at gmail.com>
Date:   Tue Aug 1 11:35:53 2017 +0530

    use rspec for testing
---
 debian/ruby-tests.rake | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

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

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



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