commit: 4cb613ad9f5c8e752e5ea490286fbc0af16d37ad Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Sep 4 08:40:45 2022 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Sep 4 10:54:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb613ad
dev-ruby/sprockets-rails: fix tests Force alphabetical order for test since they seem to be order dependent. Closes: https://bugs.gentoo.org/771723 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild b/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild index cbec5f9a1a2a..a3e90d048c61 100644 --- a/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild +++ b/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild @@ -33,4 +33,7 @@ ruby_add_bdepend " all_ruby_prepare() { sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # It looks like tests are order dependent + sed -i -e '/test_order/ s/:alpha/:random/' test/test_helper.rb || die }
