[DRE-commits] [ruby-devise] 08/43: edited test-helper-require patch

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Apr 21 13:11:09 UTC 2015


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

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

commit 8930082bd3683e6a21d2f3f4e5936f8d4ff32156
Author: markus tornow <tornow at riseup.net>
Date:   Mon Nov 19 00:04:49 2012 +0100

    edited test-helper-require patch
---
 test/ruby-test.rb | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/test/ruby-test.rb b/test/ruby-test.rb
new file mode 100644
index 0000000..8f2d980
--- /dev/null
+++ b/test/ruby-test.rb
@@ -0,0 +1,13 @@
+#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:
+$: << 'test' << '.'xf
+Dir['{spec}/**/*.rb'].each { |f| require f }
+#
+#require 'test/.drive-test.rb'
+require 'test/test_helper.rb'
+#
+# require 'rbconfig'
+# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
+# exec("#{ruby} -I. test/runtests.rb")

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



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