[DRE-commits] [ruby-merb-assets] 02/03: use the rake method to run the tests (Closes #725544)

Cédric Boutillier boutil at alioth.debian.org
Fri Oct 18 22:47:46 UTC 2013


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

boutil pushed a commit to branch master
in repository ruby-merb-assets.

commit 3ca36eb2d5d031063a661d406ce041ebc3014c58
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Oct 18 23:54:50 2013 +0200

    use the rake method to run the tests (Closes #725544)
---
 debian/ruby-tests.rake |    7 +++++++
 debian/ruby-tests.rb   |    3 ---
 2 files changed, 7 insertions(+), 3 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 bb7f4ca..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,3 +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-merb-assets.git



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