[DRE-commits] [ruby-treetop] 01/04: Use the rake method to run the tests. This method finds the spec_helper.rb file (Closes: #735866)

Cédric Boutillier boutil at moszumanska.debian.org
Sun Jan 19 15:56:29 UTC 2014


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

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

commit bef77f7c07eb3da5252c76870649ddaccbef82fd
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sun Jan 19 16:19:01 2014 +0100

    Use the rake method to run the tests. This method finds the spec_helper.rb file (Closes: #735866)
---
 debian/changelog       | 2 ++
 debian/ruby-tests.rake | 5 +++++
 debian/ruby-tests.rb   | 2 --
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 38511ca..6d85db6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ ruby-treetop (1.4.14-2) UNRELEASED; urgency=low
 
   * debian/copyright: update to the correct source URL, according to
     Rubygems.org 
+  * Use the rake method to run the tests.
+    This method finds the spec_helper.rb file (Closes: #735866)
 
  -- Cédric Boutillier <boutil at debian.org>  Thu, 20 Jun 2013 16:18:08 +0200
 
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..70a846d
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec)
+
+task :default => :spec
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 2a92ad6..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,2 +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-treetop.git



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