mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/rspec-core: fix test failure
Avoid circular test dependency on dev-ruby/rspec itself. Fixes: https://bugs.gentoo.org/662328 Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -71,6 +71,10 @@ all_ruby_prepare() {
|
||||
sed -i -e '/be_highlighted/,/end/ s/32/33/' \
|
||||
-e '/highlights core RSpec keyword-like methods/,/^ end/ s:^:#:' \
|
||||
spec/rspec/core/formatters/syntax_highlighter_spec.rb || die
|
||||
|
||||
# Avoid a spec that depens on dev-ruby/rspec to lessen circular
|
||||
# dependencies, bug 662328
|
||||
sed -i -e '/loads mocks and expectations when the constants are referenced/askip "gentoo: bug 662328"' spec/rspec/core_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
|
||||
@@ -71,6 +71,10 @@ all_ruby_prepare() {
|
||||
sed -i -e '/be_highlighted/,/end/ s/32/33/' \
|
||||
-e '/highlights core RSpec keyword-like methods/,/^ end/ s:^:#:' \
|
||||
spec/rspec/core/formatters/syntax_highlighter_spec.rb || die
|
||||
|
||||
# Avoid a spec that depens on dev-ruby/rspec to lessen circular
|
||||
# dependencies, bug 662328
|
||||
sed -i -e '/loads mocks and expectations when the constants are referenced/askip "gentoo: bug 662328"' spec/rspec/core_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user