summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-12-30 08:58:07 +0100
committerHans de Graaff <graaff@gentoo.org>2022-12-30 08:59:56 +0100
commit62994f416975c37d6f11fd46c6d0984cbede1504 (patch)
tree33f64446b8c1390b81a0d7455c7d4e3e9b67c510 /dev-ruby
parentdev-ruby/ruby-prof: add 1.4.5 (diff)
downloadgentoo-62994f416975c37d6f11fd46c6d0984cbede1504.tar.gz
gentoo-62994f416975c37d6f11fd46c6d0984cbede1504.tar.bz2
gentoo-62994f416975c37d6f11fd46c6d0984cbede1504.zip
dev-ruby/test_construct: fix tests
Limit mocha to a supported version. Closes: https://bugs.gentoo.org/888761 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/test_construct/test_construct-2.0.2-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-ruby/test_construct/test_construct-2.0.2-r1.ebuild b/dev-ruby/test_construct/test_construct-2.0.2-r1.ebuild
index ff54aa227ce8..95b415ce58ae 100644
--- a/dev-ruby/test_construct/test_construct-2.0.2-r1.ebuild
+++ b/dev-ruby/test_construct/test_construct-2.0.2-r1.ebuild
@@ -18,10 +18,12 @@ IUSE=""
ruby_add_bdepend "test? (
>=dev-ruby/minitest-5.0.8
- >=dev-ruby/mocha-0.14.0
+ dev-ruby/mocha:1.0
dev-ruby/rspec:3
)"
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die
+
+ sed -i -e '1igem "mocha", "<2"' test/test_helper.rb || die
}