[DRE-commits] [ruby-mini-magick] 01/01: replacing debian/ruby-tests.rb with debian/ruby-tests.rake
Markus Tornow
nadir-guest at moszumanska.debian.org
Thu Dec 19 16:17:41 UTC 2013
This is an automated email from the git hooks/post-receive script.
nadir-guest pushed a commit to branch master
in repository ruby-mini-magick.
commit 5f477823238554aac4e93bf450a30f8dfb9b9c17
Author: dude <tornow at riseup.net>
Date: Thu Dec 19 16:14:14 2013 +0000
replacing debian/ruby-tests.rb with debian/ruby-tests.rake
---
debian/ruby-tests.rake | 8 ++++++++
debian/ruby-tests.rb | 2 --
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..52e4666
--- /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 94d5da0..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-$: << 'test' << '.'
-Dir['{test}/**/*.rb'].each { |f| require f }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mini-magick.git
More information about the Pkg-ruby-extras-commits
mailing list