[DRE-commits] [ruby-domain-name] 06/06: Load also minitest in tests
Cédric Boutillier
boutil at moszumanska.debian.org
Sat Mar 5 21:59:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-domain-name.
commit 4c7f81119dfed732468ed86106c22ee3b92989f5
Author: Cédric Boutillier <boutil at debian.org>
Date: Sat Mar 5 22:56:25 2016 +0100
Load also minitest in tests
---
debian/patches/remove_bundler_rubygems_stuff.patch | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/patches/remove_bundler_rubygems_stuff.patch b/debian/patches/remove_bundler_rubygems_stuff.patch
index f4affa1..a987be6 100644
--- a/debian/patches/remove_bundler_rubygems_stuff.patch
+++ b/debian/patches/remove_bundler_rubygems_stuff.patch
@@ -1,11 +1,12 @@
Description: disable the use of rubygems/bundler in tests
not needed since all dependencies are provided as Debian packages
+ require also minitest for shoulda
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
-Last-Update: 2012-06-27
+Last-Update: 2016-03-05
--- a/test/helper.rb
+++ b/test/helper.rb
-@@ -1,12 +1,12 @@
+@@ -1,13 +1,14 @@
-require 'rubygems'
-require 'bundler'
-begin
@@ -25,5 +26,7 @@ Last-Update: 2012-06-27
+# exit e.status_code
+# end
require 'test/unit'
++require 'minitest'
require 'shoulda'
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-domain-name.git
More information about the Pkg-ruby-extras-commits
mailing list