diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-04-29 08:40:07 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-04-29 09:23:13 +0200 |
commit | 90915df69910de970dd4e8dddc0149b5ab4a099b (patch) | |
tree | cc0426cbc940d772563497745bab9480a0cd7782 /dev-ruby/airbrussh | |
parent | dev-python/QtPy: Remove old (diff) | |
download | gentoo-90915df69910de970dd4e8dddc0149b5ab4a099b.tar.gz gentoo-90915df69910de970dd4e8dddc0149b5ab4a099b.tar.bz2 gentoo-90915df69910de970dd4e8dddc0149b5ab4a099b.zip |
dev-ruby/airbrussh: fix tests
Ensure the correct mocha slot is used.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/airbrussh')
-rw-r--r-- | dev-ruby/airbrussh/airbrussh-1.4.1.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-ruby/airbrussh/airbrussh-1.4.1.ebuild b/dev-ruby/airbrussh/airbrussh-1.4.1.ebuild index b87e69f23648..d3d529141b47 100644 --- a/dev-ruby/airbrussh/airbrussh-1.4.1.ebuild +++ b/dev-ruby/airbrussh/airbrussh-1.4.1.ebuild @@ -26,6 +26,8 @@ ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/mocha:1.0 )" all_ruby_prepare() { sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '2igem "mocha", "~> 1.0"' test/minitest_helper.rb || die + rm -f test/support/minitest_reporters.rb || die # Add missing require |