[DRE-commits] [SCM] ruby-haml-magic-translations.git branch, master, updated. debian/0.5.1-1
Jérémy Bobbio
lunar at debian.org
Wed Apr 3 09:11:49 UTC 2013
The following commit has been merged in the master branch:
commit 195679ce964514c2f0111d1c43077f163361d19f
Author: Jérémy Bobbio <lunar at debian.org>
Date: Fri Mar 15 00:41:04 2013 +0000
Run tests using Rake to start RSpec
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..02f522c
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,8 @@
+# Tests must be run in a UTF-8 environment
+ENV['LC_ALL'] = 'C.UTF-8'
+
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec)
+
+task :default => :spec
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index eac5ce6..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# FIXME
-# there's a spec/ or a test/ directory in the upstream source, but
-# no test suite was defined in the Gem specification. It would be
-# a good idea to define it here so the package gets tested at build time.
-# Examples:
-# $: << 'lib' << '.'
-# Dir['{spec,test}/**/*.rb'].each { |f| require f }
-#
-# require 'test/ts_foo.rb'
-#
-# require 'rbconfig'
-# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-# exec("#{ruby} -I. test/runtests.rb")
--
ruby-haml-magic-translations.git
More information about the Pkg-ruby-extras-commits
mailing list