[DRE-commits] [ruby-maruku] 02/03: d/ruby-tests.rake: added buildtime tests. exclude block_spec.rb since nokogiri/diff is not available in Debian yet

Jonas Genannt jonas at brachium-system.net
Sat Feb 15 23:36:33 UTC 2014


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

hggh-guest pushed a commit to branch master
in repository ruby-maruku.

commit 79a8b81c8d185945a1666500dccbeeab45b490fb
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Sun Feb 16 00:29:24 2014 +0100

    d/ruby-tests.rake: added buildtime tests. exclude block_spec.rb since nokogiri/diff is not available in Debian yet
---
 debian/ruby-tests.rake | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..262084f
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,10 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  # exclude block_spec.rb from tests. needs nokogiri/diff not available
+  # in Debian yet.
+  file_list = FileList['spec/*_spec.rb'].exclude('spec/block_spec.rb')
+  spec.pattern = file_list
+end
+
+task :default => :spec

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-maruku.git



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