commit: a0618259523d28c13ae744aec71233036d03c945
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 30 09:35:55 2025 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Mar 30 16:46:32 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0618259
dev-ruby/rspec-core: fix tests
Some tests fail due to generated warnings when dev-ruby/uri
is installed.
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/rspec-core/rspec-core-3.13.3.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev-ruby/rspec-core/rspec-core-3.13.3.ebuild
b/dev-ruby/rspec-core/rspec-core-3.13.3.ebuild
index 7c57bea8670e..054b838516e2 100644
--- a/dev-ruby/rspec-core/rspec-core-3.13.3.ebuild
+++ b/dev-ruby/rspec-core/rspec-core-3.13.3.ebuild
@@ -81,6 +81,10 @@ all_ruby_prepare() {
# Avoid old regression check (already fixed upstream)
sed -i -e '/uses only one thread local variable/askip "old safety
check"' spec/rspec/core_spec.rb || die
+
+ # Avoid specs that fail when dev-ruby/uri is installed
+ sed -e '/running_in_drb/ s/describe/xdescribe/' \
+ -i spec/rspec/core/runner_spec.rb || die
}
each_ruby_prepare() {