summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-08-12 20:48:35 +0200
committerHans de Graaff <graaff@gentoo.org>2023-08-13 07:22:43 +0200
commit9ca5c06eab25566302a6bb92bed4c294c71fa8a5 (patch)
tree1480472a31c5b2214d9494573451a0f7aa1dedac /dev-ruby/rspec-stubbed_env
parentdev-ruby/sass: depend on minitest:5.15 (diff)
downloadgentoo-9ca5c06eab25566302a6bb92bed4c294c71fa8a5.tar.gz
gentoo-9ca5c06eab25566302a6bb92bed4c294c71fa8a5.tar.bz2
gentoo-9ca5c06eab25566302a6bb92bed4c294c71fa8a5.zip
dev-ruby/rspec-stubbed_env: update and fix tests
Closes: https://bugs.gentoo.org/912013 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rspec-stubbed_env')
-rw-r--r--dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.1.ebuild b/dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.1.ebuild
index ea5e6eb33831..c324ee9636f3 100644
--- a/dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.1.ebuild
+++ b/dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.1.ebuild
@@ -22,8 +22,8 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
ruby_add_rdepend ">=dev-ruby/rspec-3.0"
+ruby_add_bdepend "test? ( dev-ruby/rspec-block_is_expected )"
+
all_ruby_prepare() {
- # Avoid spec depending on unpackaged block_is_expected
- sed -i -e '/block_is_expected/ s:^:#:' spec/spec_helper.rb || die
- sed -i -e '/describe "stubbing"/,/^ end/ s:^:#:' spec/rspec/stubbed_env/test_helpers_spec.rb || die
+ sed -i -e '/simplecov/ s:^:#:' spec/spec_helper.rb || die
}