[DRE-commits] [ruby-em-redis] 02/05: Use the Ruby method to run the tests

Cédric Boutillier boutil at moszumanska.debian.org
Tue Sep 30 22:43:39 UTC 2014


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

boutil pushed a commit to branch master
in repository ruby-em-redis.

commit 205afd9ea430c84f2fdab1c6ce8ed4e8e4628ede
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Oct 1 00:06:51 2014 +0200

    Use the Ruby method to run the tests
---
 debian/ruby-tests.rake | 7 -------
 debian/ruby-tests.rb   | 3 +++
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
deleted file mode 100644
index 89a753d..0000000
--- a/debian/ruby-tests.rake
+++ /dev/null
@@ -1,7 +0,0 @@
-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
new file mode 100644
index 0000000..a173de1
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,3 @@
+require "bacon"
+
+Dir.glob("spec/**/*_spec.rb").each { |f| require f }

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



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