summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-03-05 07:45:59 +0100
committerHans de Graaff <graaff@gentoo.org>2016-03-05 07:45:59 +0100
commitcd9d313a88229c7d617f86152d6895b2725b30f0 (patch)
tree327dd3de97641a76e108018c994424a10fe7e3cb /dev-ruby/sawyer
parentReplaces xpm icon with png and svg, bug #575420 (diff)
downloadgentoo-cd9d313a88229c7d617f86152d6895b2725b30f0.tar.gz
gentoo-cd9d313a88229c7d617f86152d6895b2725b30f0.tar.bz2
gentoo-cd9d313a88229c7d617f86152d6895b2725b30f0.zip
dev-ruby/sawyer: fix tests
Avoid running tests that require network access. Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/sawyer')
-rw-r--r--dev-ruby/sawyer/sawyer-0.7.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-ruby/sawyer/sawyer-0.7.0.ebuild b/dev-ruby/sawyer/sawyer-0.7.0.ebuild
index da866baeccbe..50673c564ef6 100644
--- a/dev-ruby/sawyer/sawyer-0.7.0.ebuild
+++ b/dev-ruby/sawyer/sawyer-0.7.0.ebuild
@@ -20,3 +20,8 @@ IUSE=""
ruby_add_rdepend "<dev-ruby/faraday-0.10
<dev-ruby/addressable-2.5"
+
+all_ruby_prepare() {
+ # Avoid tests that require network acces
+ sed -i -e '/test_blank_response_doesnt_raise/,/^ end/ s:^:#:' test/agent_test.rb || die
+}