[DRE-commits] [yard] 01/10: use the rake method to run tests

Cédric Boutillier boutil at alioth.debian.org
Wed Oct 2 12:51:00 UTC 2013


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

boutil pushed a commit to branch master
in repository yard.

commit 7928e0ad4fa396cee3b35d64fc32248255b80f72
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Oct 2 13:15:58 2013 +0200

    use the 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 daea7f1..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/yard.git



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