[DRE-commits] [ruby-rails-timeago] 04/10: enable tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Sep 30 06:12:47 UTC 2014


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

praveen pushed a commit to branch master
in repository ruby-rails-timeago.

commit 6ebfb3019e3c5ae7324fee1c372b88ab0d9ffbd3
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Sep 30 11:29:35 2014 +0530

    enable tests
---
 debian/ruby-tests.rake | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index f4b3654..3dfdd7f 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,13 +1,7 @@
-# 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'
+
+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-rails-timeago.git



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