[DRE-commits] [ruby-pdf-reader] 04/06: use rake method to run tests

Cédric Boutillier boutil at moszumanska.debian.org
Wed Feb 19 22:24:06 UTC 2014


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

boutil pushed a commit to annotated tag debian/1.3.3-1
in repository ruby-pdf-reader.

commit c08d43b0ab87292ab26026dbb40ecb6e5478159d
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Feb 7 09:45:54 2014 +0100

    use rake method to run tests
---
 debian/ruby-tests.rake | 5 +++++
 debian/ruby-tests.rb   | 2 --
 2 files changed, 5 insertions(+), 2 deletions(-)

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 b5a9ed8..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-pdf-reader.git



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