[DRE-commits] [ruby-amq-protocol] 01/03: removed ruby-tests.rb, added ruby-tests.rake

Jonas Genannt jonas at brachium-system.net
Tue Jan 28 20:12:02 UTC 2014


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

hggh-guest pushed a commit to branch master
in repository ruby-amq-protocol.

commit bb6ed10aa238f0cd3fca085b10b6cb2089991d48
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Tue Jan 28 21:06:44 2014 +0100

    removed ruby-tests.rb, added ruby-tests.rake
---
 debian/ruby-tests.rake | 7 +++++++
 debian/ruby-tests.rb   | 5 -----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..b0bf936
--- /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 13fab9a..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-require 'rspec/autorun'
-
-Dir['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-amq-protocol.git



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