[DRE-commits] [ruby-shoulda-context] 06/08: simplify Rake task to run tests; deactivate test_framework_detection_test.rb

Cédric Boutillier boutil at moszumanska.debian.org
Tue Apr 1 19:57:42 UTC 2014


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

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

commit 6573c9697d45adbbdaaa959fe40e7d8033933a53
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Apr 1 13:14:03 2014 +0200

    simplify Rake task to run tests; deactivate test_framework_detection_test.rb
---
 debian/ruby-tests.rake | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 19ac892..df241a6 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -2,12 +2,9 @@
 
 require 'rake/testtask'
 
-test_files_pattern = 'test/**/*_test.rb'
 Rake::TestTask.new do |t|
-  t.libs << 'debian/ruby-shoulda-context/usr/lib/ruby/vendor_ruby'
   t.libs << 'test'
-  t.pattern = test_files_pattern
-  t.verbose = false
+  t.test_files = FileList['test/**/*_test.rb'].exclude('test/shoulda/test_framework_detection_test.rb')
 end
 
 task :default => :test

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



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