[DRE-commits] [ruby-mongo] 01/03: Update enable_run_tests.patch to require mocha/setup instead of mocha
Prach Pongpanich
prach-guest at moszumanska.debian.org
Thu Apr 3 07:22:53 UTC 2014
This is an automated email from the git hooks/post-receive script.
prach-guest pushed a commit to branch master
in repository ruby-mongo.
commit bdb3c32f65421434d8e61c9ed9070c8f882b7e2d
Author: Prach Pongpanich <prachpub at gmail.com>
Date: Thu Apr 3 14:02:20 2014 +0700
Update enable_run_tests.patch to require mocha/setup instead of mocha
Closes: #743106
Thanks: Cédric Boutillier
---
debian/patches/enable_run_tests.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/patches/enable_run_tests.patch b/debian/patches/enable_run_tests.patch
index 38fbe4d..953fd42 100644
--- a/debian/patches/enable_run_tests.patch
+++ b/debian/patches/enable_run_tests.patch
@@ -118,7 +118,7 @@ Author: Prach Pongpanich <prachpub at gmail.com>
- TEST_HOST = ENV['MONGO_RUBY_DRIVER_HOST'] || 'localhost'
-end
+require 'shoulda'
-+require 'mocha'
++require 'mocha/setup'
class Test::Unit::TestCase
include Mongo
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mongo.git
More information about the Pkg-ruby-extras-commits
mailing list