[DRE-commits] [ruby-buff-ignore] 02/04: Use rake to run tests
Miguel Landaeta
nomadium at moszumanska.debian.org
Sat Aug 1 00:01:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
nomadium pushed a commit to branch master
in repository ruby-buff-ignore.
commit fff7d530a381f6fd99188034fc7e54e074c17cfa
Author: Miguel Landaeta <nomadium at debian.org>
Date: Fri Jul 31 20:43:55 2015 -0300
Use rake to run tests
---
debian/ruby-tests.rake | 8 ++++++++
debian/ruby-tests.rb | 4 ----
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..b48f805
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,8 @@
+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 99b4155..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-require 'rspec'
-$: << 'lib' << '.'
-
-RSpec::Core::Runner.run ['spec']
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-buff-ignore.git
More information about the Pkg-ruby-extras-commits
mailing list