summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-09-04 10:40:45 +0200
committerHans de Graaff <graaff@gentoo.org>2022-09-04 12:54:14 +0200
commit4cb613ad9f5c8e752e5ea490286fbc0af16d37ad (patch)
treec8d1483081af419fcfb79a252239d12be93b84b7 /dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild
parentdev-ruby/sdoc: update EAPI 7 -> 8, add ruby31 (diff)
downloadgentoo-4cb613ad9f5c8e752e5ea490286fbc0af16d37ad.tar.gz
gentoo-4cb613ad9f5c8e752e5ea490286fbc0af16d37ad.tar.bz2
gentoo-4cb613ad9f5c8e752e5ea490286fbc0af16d37ad.zip
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@gentoo.org>
Diffstat (limited to 'dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild')
-rw-r--r--dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild3
1 files changed, 3 insertions, 0 deletions
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
}