[DRE-commits] [ruby-roxml] 02/03: exclude regression_spec, failing with ruby2.2 because nil is frozen

Cédric Boutillier boutil at moszumanska.debian.org
Wed Aug 12 14:02:29 UTC 2015


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

boutil pushed a commit to branch master
in repository ruby-roxml.

commit ac8486b8c31f5ef08256502f46c9d060014e94c6
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Aug 12 15:58:54 2015 +0200

    exclude regression_spec, failing with ruby2.2 because nil is frozen
---
 debian/ruby-tests.rake | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 95e5806..34bb817 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -2,7 +2,9 @@ require 'rspec/core/rake_task'
 require 'rake/testtask'
 
 RSpec::Core::RakeTask.new(:spec) do |spec|
-  spec.pattern = './spec/**/*_spec.rb'
+  spec.pattern = FileList.new('./spec/**/*_spec.rb') do |fl|
+    fl.exclude(/regression/)
+  end
   spec.ruby_opts = "-Iexamples"
 end
 

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



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