summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rack-test/rack-test-1.1.0.ebuild')
-rw-r--r--dev-ruby/rack-test/rack-test-1.1.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-ruby/rack-test/rack-test-1.1.0.ebuild b/dev-ruby/rack-test/rack-test-1.1.0.ebuild
index c9eabc6c882c..8f490c6c6e47 100644
--- a/dev-ruby/rack-test/rack-test-1.1.0.ebuild
+++ b/dev-ruby/rack-test/rack-test-1.1.0.ebuild
@@ -32,7 +32,9 @@ all_ruby_prepare() {
sed -e '/bundler/d' \
-e '/[Cc]ode[Cc]limate/d' \
-e '/simplecov/,/^end/ s:^:#:' \
- -e '1igem "rack", "<2.2"' \
-i spec/spec_helper.rb || die
sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Avoid test broken with rack 2.2
+ sed -i -e '/closes response.s body/askip "rack 2.2 compatibility"' spec/rack/test_spec.rb || die
}