diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-09-01 21:42:23 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-09-01 21:49:47 +0200 |
commit | 3ab28f4c5a3c365066db3fa6d801ce942d70b198 (patch) | |
tree | ab739ddd327ec035be88ec78fca4e4346bd1c2ba /dev-ruby/samuel | |
parent | dev-ruby/will_paginate: fix tests, add ruby23 revision (diff) | |
download | gentoo-3ab28f4c5a3c365066db3fa6d801ce942d70b198.tar.gz gentoo-3ab28f4c5a3c365066db3fa6d801ce942d70b198.tar.bz2 gentoo-3ab28f4c5a3c365066db3fa6d801ce942d70b198.zip |
dev-ruby/samuel: fix tests
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/samuel')
-rw-r--r-- | dev-ruby/samuel/samuel-0.3.3-r2.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-ruby/samuel/samuel-0.3.3-r2.ebuild b/dev-ruby/samuel/samuel-0.3.3-r2.ebuild index 9bfaff0c23bb..ac56bef0727b 100644 --- a/dev-ruby/samuel/samuel-0.3.3-r2.ebuild +++ b/dev-ruby/samuel/samuel-0.3.3-r2.ebuild @@ -39,6 +39,6 @@ all_ruby_prepare() { # Require an old enough version of mocha. sed -i -e '1igem "mocha", "~> 0.14.0"' test/test_helper.rb || die - # Use the test-unit gem to make jruby compatible with newer mocha. - sed -i -e '1igem "test-unit"' test/test_helper.rb || die + # Use the test-unit gem for consistency accross ruby versions + sed -i -e '1igem "test-unit"; require "test/unit"' test/test_helper.rb || die } |