summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-08-15 06:41:43 +0200
committerHans de Graaff <graaff@gentoo.org>2021-08-15 09:41:13 +0200
commitab5c08038d31a7d3daf8c1da476e8e995e1df605 (patch)
treec7b925ab707110365bb6275cef1229f678ccc8fa /dev-ruby/pundit
parentdev-ruby/curb: avoid test requiring ntlm (diff)
downloadgentoo-ab5c08038d31a7d3daf8c1da476e8e995e1df605.tar.gz
gentoo-ab5c08038d31a7d3daf8c1da476e8e995e1df605.tar.bz2
gentoo-ab5c08038d31a7d3daf8c1da476e8e995e1df605.zip
dev-ruby/pundit: fix tests
Avoid test dependency on simplecov Closes: https://bugs.gentoo.org/808186 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/pundit')
-rw-r--r--dev-ruby/pundit/pundit-2.1.1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-ruby/pundit/pundit-2.1.1.ebuild b/dev-ruby/pundit/pundit-2.1.1.ebuild
index aabad7105e01..aa5c64669fdb 100644
--- a/dev-ruby/pundit/pundit-2.1.1.ebuild
+++ b/dev-ruby/pundit/pundit-2.1.1.ebuild
@@ -23,5 +23,5 @@ ruby_add_bdepend "test? ( >=dev-ruby/actionpack-3.0.0
>=dev-ruby/activemodel-3.0.0 )"
all_ruby_prepare() {
- sed -i -e "/pry/d" spec/spec_helper.rb || die
+ sed -i -e "/pry/d" -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die
}