[DRE-commits] [ruby-diffy] 01/02: rake file to run the tests

Cédric Boutillier boutil at moszumanska.debian.org
Mon Sep 15 12:52:29 UTC 2014


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

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

commit 53c70b2136d3b74bafe5c84367ea8db1a3bb60cb
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Sep 15 14:51:38 2014 +0200

    rake file to run the tests
---
 debian/ruby-tests.rake | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index f4b3654..fef6616 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,13 +1,9 @@
-# FIXME
-# there's a spec/ directory in the upstream source.
-# The recommended way to run the RSpec suite is via a rake task.
-# The following commands are enough in many cases and can be adapted to other
-# situations.
-#
-# require 'rspec/core/rake_task'
-#
-# RSpec::Core::RakeTask.new(:spec) do |spec|
-#  spec.pattern      = './spec/*_spec.rb'
-# end
-#
-# task :default => :spec
+require 'rspec/core/rake_task'
+
+ENV['LANG']="C.UTF-8"
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern      = './spec/*_spec.rb'
+end
+
+task :default => :spec

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



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