[DRE-commits] [ruby-vcr] 04/06: d/ruby-tests: Run package provided tests suite
Sebastien Badia
sbadia-guest at moszumanska.debian.org
Mon Apr 21 14:01:54 UTC 2014
This is an automated email from the git hooks/post-receive script.
sbadia-guest pushed a commit to branch master
in repository ruby-vcr.
commit 72e4f32e3efafb3a11ef32b21d3f2b4c42c7c888
Author: Sebastien Badia <seb at sebian.fr>
Date: Mon Apr 21 02:49:49 2014 +0200
d/ruby-tests: Run package provided tests suite
---
debian/ruby-tests.rake | 9 +++++++++
debian/ruby-tests.rb | 2 --
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..393e0e4
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,9 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ #spec.ruby_opts = "-I./spec -r./spec/capture_warnings -rspec_helper"
+ spec.ruby_opts = "-I./spec -rspec_helper"
+ 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 2cb62c2..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-#$: << 'spec' << '.'
-#Dir['{spec,features}/**/*.rb'].each { |f| require f }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-vcr.git
More information about the Pkg-ruby-extras-commits
mailing list